Searched refs:PROMPTLEN (Results 1 – 1 of 1) sorted by relevance
66 #define PROMPTLEN 192 macro2024 static char ps[PROMPTLEN]; in getprompt()2052 for (i = 0; (i < PROMPTLEN - 1) && (*fmt != '\0'); i++, fmt++) { in getprompt()2092 if (i < PROMPTLEN - 3) { in getprompt()2136 i += strftime(&ps[i], PROMPTLEN - i - 1, tfmt, now); in getprompt()2150 gethostname(&ps[i], PROMPTLEN - i - 1); in getprompt()2151 ps[PROMPTLEN - 1] = '\0'; in getprompt()2164 getusername(&ps[i], PROMPTLEN - i); in getprompt()2184 PROMPTLEN - i); in getprompt()2195 PROMPTLEN - i); in getprompt()[all …]