Lines Matching refs:nobuf
985 int nibuf, nobuf; local
1070 nibuf = nobuf = 0;
1094 while (nibuf != 0 || nobuf != 0 || pty_readable || stdin_readable) {
1107 if (nobuf != 0) {
1159 nobuf = read(pty_master, obufp, PPP_MRU + PPP_HDRLEN);
1160 if (nobuf < 0 && errno == EIO)
1161 nobuf = 0;
1162 if (nobuf < 0) {
1167 nobuf = 0;
1168 } else if (nobuf == 0) {
1180 if (!record_write(recordf, 1, obufp, nobuf, &lasttime))
1186 n = nobuf;
1193 nobuf = 0;
1200 nobuf -= n;