Lines Matching refs:nread
213 int nread; in tail_main() local
266 while ((nread = tail_read(fd, buf, tailbufsize - taillen)) > 0) { in tail_main()
268 int nwrite = nread; in tail_main()
273 seen += nread; in tail_main()
285 xwrite(STDOUT_FILENO, buf + nread - nwrite, nwrite); in tail_main()
288 taillen += nread; in tail_main()
294 int k = nread; in tail_main()
306 taillen += nread; in tail_main()
308 int extra = (buf[nread-1] != '\n'); in tail_main()
319 taillen += nread - (s - tailbuf); in tail_main()
346 int nread; in tail_main() local
397 nread = tail_read(fd, tailbuf, BUFSIZ); in tail_main()
398 if (nread <= 0) { in tail_main()
411 xwrite(STDOUT_FILENO, tailbuf, nread); in tail_main()