Lines Matching refs:shf
1387 char *p = shf_getse(xp, Xnleft(s->xs, xp), s->u.shf); in getsc_line()
1389 if (!p && shf_error(s->u.shf) && in getsc_line()
1390 shf_errno(s->u.shf) == EINTR) { in getsc_line()
1391 shf_clearerr(s->u.shf); in getsc_line()
1413 shf_flush(s->u.shf); in getsc_line()
1432 shf_fdclose(s->u.shf); in getsc_line()
1472 struct shf *shf; in set_prompt() local
1478 shf = shf_sopen(NULL, strlen(ps1) * 2, in set_prompt()
1482 shf_putchar(*ps1++, shf); in set_prompt()
1484 shf_fprintf(shf, "%lu", s ? in set_prompt()
1486 ps1 = shf_sclose(shf); in set_prompt()