Searched refs:fds (Results 1 – 6 of 6) sorted by relevance
/support/ |
A D | xpipe.c | 24 xpipe (int fds[2]) in xpipe() 26 if (pipe (fds) < 0) in xpipe()
|
A D | xpoll.c | 26 xpoll (struct pollfd *fds, nfds_t nfds, int timeout) in xpoll() argument 28 int ret = poll (fds, nfds, timeout); in xpoll()
|
A D | tst-support-open-dev-null-range.c | 53 DIR *fds = opendir ("/proc/self/fd"); in number_of_opened_files() local 54 if (fds == NULL) in number_of_opened_files() 61 struct dirent64 *e = readdir64 (fds); in number_of_opened_files() 80 if (fd == dirfd (fds)) in number_of_opened_files() 86 closedir (fds); in number_of_opened_files()
|
A D | support_capture_subprocess.c | 62 struct pollfd fds[2] = in support_capture_poll() local 70 xpoll (fds, 2, -1); in support_capture_poll() 71 transfer ("stdout", &fds[0], &result->out); in support_capture_poll() 72 transfer ("stderr", &fds[1], &result->err); in support_capture_poll() 74 while (fds[0].events != 0 || fds[1].events != 0); in support_capture_poll()
|
A D | support_descriptors.c | 66 DIR *fds = opendir ("/proc/self/fd"); in support_descriptors_list() local 67 if (fds == NULL) in support_descriptors_list() 73 struct dirent64 *e = readdir64 (fds); in support_descriptors_list() 92 if (fd == dirfd (fds)) in support_descriptors_list() 114 closedir (fds); in support_descriptors_list()
|
A D | resolv_test.c | 744 struct pollfd fds[resolv_max_test_servers]; in server_thread_udp_single() local 748 fds[server_index] = (struct pollfd) {.fd = -1}; in server_thread_udp_single() 751 fds[server_index] = (struct pollfd) in server_thread_udp_single() 768 xpoll (fds, resolv_max_test_servers, -1); in server_thread_udp_single() 771 if (fds[server_index].revents != 0) in server_thread_udp_single() 775 fds[server_index].revents = 0; in server_thread_udp_single()
|
Completed in 13 milliseconds