Home
last modified time | relevance | path

Searched refs:promptbuf (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/boot/common/
H A Dinterp.c293 static char promptbuf[20]; /* probably too large, but well... */ in prompt() local
309 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()
/illumos-gate/usr/src/cmd/tip/
H A Dtip.c306 static sigjmp_buf promptbuf; variable
325 if (sigsetjmp(promptbuf, 1) == 0) in prompt()
348 siglongjmp(promptbuf, 1); in intprompt()