Lines Matching refs:nfds
828 * int poll(struct pollfd *fds, int nfds, int timeout);
832 int sys_poll(struct pollfd *fds, int nfds, int timeout)
841 return my_syscall5(__NR_ppoll, fds, nfds, (timeout >= 0) ? &t : NULL, NULL, 0);
843 return my_syscall3(__NR_poll, fds, nfds, timeout);
850 int poll(struct pollfd *fds, int nfds, int timeout)
852 return __sysret(sys_poll(fds, nfds, timeout));
909 * int select(int nfds, fd_set *read_fds, fd_set *write_fds,
914 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout)
921 } arg = { .n = nfds, .r = rfds, .w = wfds, .e = efds, .t = timeout };
930 return my_syscall6(__NR_pselect6, nfds, rfds, wfds, efds, timeout ? &t : NULL, NULL);
935 return my_syscall5(__NR__newselect, nfds, rfds, wfds, efds, timeout);
942 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout)
944 return __sysret(sys_select(nfds, rfds, wfds, efds, timeout));