Searched refs:wnleft (Results 1 – 2 of 2) sorted by relevance
249 shf->wnleft = 0; in shf_fdclose()267 shf->wnleft++; in shf_sclose()342 shf->wnleft += shf->wbsize; in shf_emptybuf()359 shf->wnleft = 0; in shf_emptybuf()374 shf->wnleft = 0; in shf_emptybuf()380 shf->wnleft = shf->wbsize; in shf_emptybuf()597 shf->wnleft--; in shf_putchar()631 if ((ncopy = shf->wnleft) && in shf_write()639 shf->wnleft -= ncopy; in shf_write()658 shf->wnleft = 0; in shf_write()[all …]
14 #define shf_putc(c, shf) ((shf)->wnleft == 0 ? shf_putchar((c), (shf)) : \15 ((shf)->wnleft--, *(shf)->wp++ = (c)))49 int wnleft; /* write: how much space left in buffer */ member