Lines Matching defs:len
50 void read_output(int fd, char *output, int len)
58 len = sizeof(c);
73 expected = (remain < len) ? remain : len;
95 int net_read(int fd, void *buf, int len)
99 n = read(fd, buf, len);
108 int net_recvfrom(int fd, void *buf, int len)
112 CATCH_EINTR(n = recvfrom(fd, buf, len, 0, NULL, NULL));
123 int net_write(int fd, void *buf, int len)
127 n = write(fd, buf, len);
136 int net_send(int fd, void *buf, int len)
140 CATCH_EINTR(n = send(fd, buf, len, 0));
151 int net_sendto(int fd, void *buf, int len, void *to, int sock_len)
155 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to,