Searched refs:promptbuf (Results 1 – 2 of 2) sorted by relevance
293 static char promptbuf[20]; /* probably too large, but well... */ in prompt() local309 n = sprintf(promptbuf+n, "%s", ev); in prompt()313 promptbuf[n++] = *p; in prompt()316 if (promptbuf[n - 1] != ' ') in prompt()317 promptbuf[n++] = ' '; in prompt()318 promptbuf[n] = '\0'; in prompt()320 return (promptbuf); in prompt()
306 static sigjmp_buf promptbuf; variable325 if (sigsetjmp(promptbuf, 1) == 0) in prompt()348 siglongjmp(promptbuf, 1); in intprompt()