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

/ast/src/cmd/builtin/
H A Dpty.c464 char promptbuf[64]; local
467 promptlen = sfsprintf(promptbuf, sizeof(promptbuf), prompt, ++bp->line);
473 if (strneq(bp->cur, promptbuf, promptlen))
481 error(-1, "p \"%s\"", fmtnesq(promptbuf, "\"", promptlen));
486 if (strneq(r, promptbuf, promptlen))
488 error(-1, "p \"%s\"", fmtnesq(promptbuf, "\"", promptlen));
493 if (strneq(r, promptbuf, promptlen))
495 error(-1, "p \"%s\"", fmtnesq(promptbuf, "\"", promptlen));
542 if (prompt && strneq(r, promptbuf, promptle
[all...]

Completed in 8 milliseconds