Home
last modified time | relevance | path

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

/third_party/mksh/
Dshf.c150 shf->rnleft = 0; in shf_fdopen()
177 shf->rnleft = 0; in shf_reopen()
218 shf->rnleft = bsize; in shf_sopen()
258 shf->rnleft = 0; in shf_fdclose()
305 if (shf->rnleft > 0) { in shf_flush()
306 if (lseek(shf->fd, (off_t)-shf->rnleft, in shf_flush()
312 shf->rnleft = 0; in shf_flush()
440 shf->rnleft = 0; in shf_fillbuf()
444 if ((shf->rnleft = n) == 0) in shf_fillbuf()
467 if (shf->rnleft == 0 && in shf_read()
[all …]
Dsh.h1696 #define shf_getc_i(shf) ((shf)->rnleft > 0 ? \
1697 (shf)->rnleft--, (int)ord(*(shf)->rp++) : \
1736 ssize_t rnleft; /* read: how much data left in buffer */ member