Lines Matching refs:PROMPTLEN
73 #define PROMPTLEN 128 macro
2030 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()
2150 if (i < PROMPTLEN - 2) in getprompt()