HomeSort by: relevance | last modified time | path
    Searched refs:wnleft (Results 1 - 2 of 2) sorted by relevancy

  /src/bin/ksh/
shf.h 17 #define shf_putc(c, shf) ((shf)->wnleft == 0 ? shf_putchar((c), (shf)) \
18 : ((shf)->wnleft--, *(shf)->wp++ = (c)))
43 #define SHF_WRITING 0x4000 /* currently writing: wnleft,wp valid */
53 int wnleft; /* write: how much space left in buffer */ member in struct:shf
shf.c 121 shf->wnleft = 0; /* force call to shf_emptybuf() */
165 shf->wnleft = 0; /* force call to shf_emptybuf() */
209 shf->wnleft = bsize - 1; /* space for a '\0' */
251 shf->wnleft = 0;
270 shf->wnleft++;
366 shf->wnleft += shf->wbsize;
383 shf->wnleft = 0;
398 shf->wnleft = 0;
404 shf->wnleft = shf->wbsize;
672 if (shf->wnleft == 0 && shf_emptybuf(shf, EB_GROW) == EOF
    [all...]

Completed in 14 milliseconds