Lines Matching defs:nr
545 int len, nr;
553 nr = -1;
555 nr = read(ppp_fd, buf, len);
556 if (nr < 0 && errno != EWOULDBLOCK && errno != EIO && errno != EINTR)
558 if (nr < 0 && errno == ENXIO)
561 if (nr < 0 && new_style_driver && ifunit >= 0) {
563 nr = read(ppp_dev_fd, buf, len);
564 if (nr < 0 && errno != EWOULDBLOCK && errno != EIO && errno != EINTR)
566 if (nr < 0 && errno == ENXIO)
569 return (new_style_driver && nr > 0)? nr+2: nr;