Lines Matching refs:nibuf
982 int nibuf, nobuf; local
1067 nibuf = nobuf = 0;
1091 while (nibuf != 0 || nobuf != 0 || pty_readable || stdin_readable) {
1097 if (nibuf != 0) {
1132 nibuf = read(ifd, ibufp, PPP_MRU + PPP_HDRLEN);
1133 if (nibuf < 0 && errno == EIO)
1134 nibuf = 0;
1135 if (nibuf < 0) {
1140 nibuf = 0;
1141 } else if (nibuf == 0) {
1150 if (!record_write(recordf, 2, ibufp, nibuf, &lasttime))
1169 nibuf = 0;
1202 n = nibuf;
1209 nibuf = 0;
1216 nibuf -= n;