Home
last modified time | relevance | path

Searched refs:rnleft (Results 1 – 2 of 2) sorted by relevance

/external/mksh/src/
Dshf.c148 shf->rnleft = 0; in shf_fdopen()
175 shf->rnleft = 0; in shf_reopen()
215 shf->rnleft = bsize; in shf_sopen()
255 shf->rnleft = 0; in shf_fdclose()
304 if (shf->rnleft > 0) { in shf_flush()
305 lseek(shf->fd, (off_t)-shf->rnleft, SEEK_CUR); in shf_flush()
306 shf->rnleft = 0; in shf_flush()
435 shf->rnleft = 0; in shf_fillbuf()
439 if ((shf->rnleft = n) == 0) in shf_fillbuf()
461 if (shf->rnleft == 0 && in shf_read()
[all …]
Dsh.h1099 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \
1100 (shf)->rnleft--, *(shf)->rp++ : \
1139 ssize_t rnleft; /* read: how much data left in buffer */ member