Lines Matching refs:nbytes
155 tread(int fd, char *buf, unsigned nbytes)
159 return ((ssize_t)t_rcv(fd, buf, nbytes, &rcvflags));
167 twrite(int fd, char *buf, unsigned nbytes)
188 if (info.tsdu <= 0 || nbytes <= info.tsdu)
189 return ((ssize_t)t_snd(fd, buf, nbytes, NULL));
193 while (nbytes >= info.tsdu) {
197 nbytes -= info.tsdu;
199 if (nbytes != 0) {
200 if ((ret = t_snd(fd, &buf[i], nbytes, NULL)) != nbytes)
202 i += nbytes;