Lines Matching refs:shf
1380 char *p = shf_getse(xp, Xnleft(s->xs, xp), s->u.shf); in getsc_line()
1382 if (!p && shf_error(s->u.shf) && in getsc_line()
1383 shf_errno(s->u.shf) == EINTR) { in getsc_line()
1384 shf_clearerr(s->u.shf); in getsc_line()
1406 shf_flush(s->u.shf); in getsc_line()
1425 shf_fdclose(s->u.shf); in getsc_line()
1465 struct shf *shf; in set_prompt() local
1471 shf = shf_sopen(NULL, strlen(ps1) * 2, in set_prompt()
1475 shf_putchar(*ps1++, shf); in set_prompt()
1477 shf_fprintf(shf, Tf_lu, s ? in set_prompt()
1479 ps1 = shf_sclose(shf); in set_prompt()