Searched refs:wnleft (Results 1 – 2 of 2) sorted by relevance
152 shf->wnleft = 0; /* force call to shf_emptybuf() */ in shf_fdopen()179 shf->wnleft = 0; /* force call to shf_emptybuf() */ in shf_reopen()220 shf->wnleft = bsize - 1; /* space for a '\0' */ in shf_sopen()260 shf->wnleft = 0; in shf_fdclose()279 shf->wnleft++; in shf_sclose()361 shf->wnleft += shf->wbsize; in shf_emptybuf()377 shf->wnleft = 0; in shf_emptybuf()394 shf->wnleft = 0; in shf_emptybuf()400 shf->wnleft = shf->wbsize; in shf_emptybuf()634 if (shf->wnleft == 0 && shf_emptybuf(shf, EB_GROW) == -1) in shf_putchar()[all …]
1701 #define shf_putc_i(c,shf) ((shf)->wnleft == 0 ? \1703 ((shf)->wnleft--, *(shf)->wp++ = (c)))1740 ssize_t wnleft; /* write: how much space left in buffer */ member