Searched refs:PROMPTLEN (Results 1 – 1 of 1) sorted by relevance
73 #define PROMPTLEN 128 macro2030 static char ps[PROMPTLEN]; in getprompt()2058 for (i = 0; (i < PROMPTLEN - 1) && (*fmt != '\0'); i++, fmt++) in getprompt()2071 gethostname(&ps[i], PROMPTLEN - i - 1); in getprompt()2072 ps[PROMPTLEN - 1] = '\0'; in getprompt()2085 getusername(&ps[i], PROMPTLEN - i); in getprompt()2105 PROMPTLEN - i); in getprompt()2116 PROMPTLEN - i); in getprompt()2119 PROMPTLEN - i - 1); in getprompt()2121 strlcpy(&ps[i], pwd, PROMPTLEN - i); in getprompt()[all …]