Lines Matching defs:nchread
435 int nchread = 0; /* Count how many bytes has been read. */
457 while (nchread < nchreq) {
486 m = nchreq - nchread;
521 nchread++;
542 nchread++;
557 nchread++;
560 return (nchread);
567 return (nchread);
581 nchread++;
587 return (nchread);
601 return (nchread + 1);
620 nchread++;
623 return (nchread);
630 int nchread;
638 nchread = read(d, (char *)chbuf, nchreq);
644 if (nchread == 0) {
651 } else if (nchread < 0) {
660 for (i = 0, t = buf, s = chbuf; i < nchread; ++i) {
664 return (nchread);