Lines Matching refs:nibuf
985 int nibuf, nobuf; local
1070 nibuf = nobuf = 0;
1094 while (nibuf != 0 || nobuf != 0 || pty_readable || stdin_readable) {
1100 if (nibuf != 0) {
1135 nibuf = read(ifd, ibufp, PPP_MRU + PPP_HDRLEN);
1136 if (nibuf < 0 && errno == EIO)
1137 nibuf = 0;
1138 if (nibuf < 0) {
1143 nibuf = 0;
1144 } else if (nibuf == 0) {
1153 if (!record_write(recordf, 2, ibufp, nibuf, &lasttime))
1172 nibuf = 0;
1205 n = nibuf;
1212 nibuf = 0;
1219 nibuf -= n;