Searched refs:wnleft (Results 1 – 2 of 2) sorted by relevance
145 shf->wnleft = 0; /* force call to shf_emptybuf() */ in shf_fdopen()172 shf->wnleft = 0; /* force call to shf_emptybuf() */ in shf_reopen()212 shf->wnleft = bsize - 1; /* space for a '\0' */ in shf_sopen()252 shf->wnleft = 0; in shf_fdclose()271 shf->wnleft++; in shf_sclose()351 shf->wnleft += shf->wbsize; in shf_emptybuf()367 shf->wnleft = 0; in shf_emptybuf()384 shf->wnleft = 0; in shf_emptybuf()390 shf->wnleft = shf->wbsize; in shf_emptybuf()602 if (shf->wnleft == 0 && shf_emptybuf(shf, EB_GROW) == EOF) in shf_putchar()[all …]
1030 #define shf_putc_i(c, shf) ((shf)->wnleft == 0 ? \1032 ((shf)->wnleft--, *(shf)->wp++ = (c)))1069 ssize_t wnleft; /* write: how much space left in buffer */ member