Home
last modified time | relevance | path

Searched refs:fds (Results 1 – 14 of 14) sorted by relevance

/sysdeps/unix/sysv/linux/
A Dppoll.c25 __ppoll64 (struct pollfd *fds, nfds_t nfds, const struct __timespec64 *timeout, in __ppoll64() argument
42 return SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, in __ppoll64()
49 ret = SYSCALL_CANCEL (ppoll_time64, fds, nfds, timeout, sigmask, in __ppoll64()
61 return SYSCALL_CANCEL (ppoll, fds, nfds, timeout ? &ts32 : NULL, sigmask, in __ppoll64()
70 __ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, in libc_hidden_def()
77 return __ppoll64 (fds, nfds, timeout ? &ts64 : NULL, sigmask); in libc_hidden_def()
A Dtst-ppoll.c38 struct pollfd fds = { -1, 0, 0 }; in test_ppoll_timeout() local
39 TEST_COMPARE (ppoll (&fds, 1, &timeout, 0), 0); in test_ppoll_timeout()
51 struct pollfd fds = { -1, 0, 0 }; in test_ppoll_large_timeout() local
52 TEST_COMPARE (ppoll (&fds, 1, &ts, 0), -1); in test_ppoll_large_timeout()
A Dpoll.c26 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
29 return SYSCALL_CANCEL (poll, fds, nfds, timeout); in __poll()
41 return SYSCALL_CANCEL (ppoll, fds, nfds, timeout_ts_p, NULL, 0); in __poll()
/sysdeps/mach/hurd/
A Dpipe2.c34 __pipe2 (int fds[2], int flags) in __pipe2()
47 result = __socketpair (PF_LOCAL, SOCK_STREAM | flags, S_IFIFO, fds); in __pipe2()
54 return __socketpair (PF_LOCAL, SOCK_STREAM | flags, 0, fds); in __pipe2()
A Dpipe.c26 __pipe (int fds[2]) in __pipe()
28 return __pipe2 (fds, 0); in __pipe()
A Dppoll.c25 ppoll (struct pollfd *fds, nfds_t nfds, in ppoll() argument
28 return _hurd_select (nfds, fds, NULL, NULL, NULL, timeout, sigmask); in ppoll()
A Dsocketpair.c33 __socketpair (int domain, int type, int protocol, int fds[2]) in __socketpair()
44 if (fds == NULL) in __socketpair()
108 fds[0] = d1; in __socketpair()
109 fds[1] = d2; in __socketpair()
A Dpoll.c31 __poll (struct pollfd *fds, nfds_t nfds, int timeout) in __poll() argument
44 return _hurd_select (nfds, fds, NULL, NULL, NULL, to, NULL); in __poll()
A Dsendmsg.c39 int *fds, nfds; in __libc_sendmsg() local
128 fds = (int *) CMSG_DATA (cmsg); in __libc_sendmsg()
135 (fds[i], in __libc_sendmsg()
142 fds[i] = descriptor->flags; in __libc_sendmsg()
A Drecvmsg.c193 int *fds = (int *) CMSG_DATA (cmsg); in __libc_recvmsg() local
202 fds[j] = opened_fds[newfds] = _hurd_intern_fd (newports[newfds], in __libc_recvmsg()
203 fds[j], 0); in __libc_recvmsg()
204 if (fds[j] == -1) in __libc_recvmsg()
/sysdeps/pthread/
A Dtst-fini1mod.c27 int fds[2]; in tf() local
28 if (pipe (fds) != 0) in tf()
35 read (fds[0], buf, sizeof (buf)); in tf()
A Dtst-cancel4-common.h27 static int fds[2]; variable
A Dtst-cancel4-common.c23 if (socketpair (AF_UNIX, SOCK_STREAM, 0, fds) != 0) in do_test()
29 set_socket_buffer (fds[1]); in do_test()
A Dtst-cancel4.c84 fd = fds[0]; in tf_read()
116 fd = fds[0]; in tf_readv()
149 fd = fds[1]; in tf_write()
186 fd = fds[1]; in tf_writev()
275 fd = fds[0]; in tf_select()
310 fd = fds[0]; in tf_pselect()
345 fd = fds[0]; in tf_poll()
378 fd = fds[0]; in tf_ppoll()

Completed in 19 milliseconds