Lines Matching defs:nread
2101 ssize_t nread;
2124 nread = read (s->read_fd, buf, len);
2125 if (nread <= 0)
2127 if (nread == 0 || errno == EAGAIN)
2136 if (nread > 0 && s->holding_lock)
2144 s->num_bytes += nread;
2154 *lenp = nread;
2181 ssize_t nread;
2200 while ((nread = read (s->from_child, buf, sizeof (buf))) > 0);
2202 nread = read (s->from_child, buf, sizeof (buf));
2204 while (nread > 0);