Lines Matching refs:fd
50 void read_output(int fd, char *output, int len) in read_output() argument
62 ret = read(fd, &remain, sizeof(remain)); in read_output()
74 ret = read(fd, output, expected); in read_output()
95 int net_read(int fd, void *buf, int len) in net_read() argument
99 n = read(fd, buf, len); in net_read()
108 int net_recvfrom(int fd, void *buf, int len) in net_recvfrom() argument
112 CATCH_EINTR(n = recvfrom(fd, buf, len, 0, NULL, NULL)); in net_recvfrom()
123 int net_write(int fd, void *buf, int len) in net_write() argument
127 n = write(fd, buf, len); in net_write()
136 int net_send(int fd, void *buf, int len) in net_send() argument
140 CATCH_EINTR(n = send(fd, buf, len, 0)); in net_send()
151 int net_sendto(int fd, void *buf, int len, void *to, int sock_len) in net_sendto() argument
155 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to, in net_sendto()