Lines Matching refs:nread
21 int nread; in PRead() local
29 nread = size - nleft; in PRead()
30 if (nread > 0) in PRead()
31 return (nread); in PRead()
42 nread = read(sfd, buf, nleft); in PRead()
43 if (nread <= 0) { in PRead()
44 if (nread == 0) { in PRead()
46 nread = size - nleft; in PRead()
49 nread = size - nleft; in PRead()
50 if (nread == 0) in PRead()
51 nread = -1; in PRead()
55 nread = 0; in PRead()
59 nleft -= nread; in PRead()
62 buf += nread; in PRead()
64 nread = size - nleft; in PRead()
70 return (nread); in PRead()