shf_emptybuf
static int shf_emptybuf(struct shf *, int);
return shf_emptybuf(shf, 0);
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
if ((shf->flags & SHF_WRITING) && shf_emptybuf(shf, EB_READSW) == EOF)
if (shf->wnleft == 0 && shf_emptybuf(shf, EB_GROW) == EOF)
if (shf_emptybuf(shf, EB_GROW) == EOF)