Searched refs:homepath (Results 1 – 2 of 2) sorted by relevance
2167 char *homedrive, *homepath; in init_homedir() local2170 homepath = getenv("HOMEPATH"); in init_homedir()2171 if (homepath == NULL || *homepath == NUL) in init_homedir()2172 homepath = "\\"; in init_homedir()2174 && strlen(homedrive) + strlen(homepath) < sizeof(buf)) in init_homedir()2176 sprintf(buf, "%s%s", homedrive, homepath); in init_homedir()
1183 char_u *homedrive, *homepath; in init_homedir() local1186 homepath = mch_getenv((char_u *)"HOMEPATH"); in init_homedir()1187 if (homepath == NULL || *homepath == NUL) in init_homedir()1188 homepath = (char_u *)"\\"; in init_homedir()1190 && STRLEN(homedrive) + STRLEN(homepath) < MAXPATHL) in init_homedir()1192 sprintf((char *)NameBuff, "%s%s", homedrive, homepath); in init_homedir()