Searched refs:nfds (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/libsyscall/wrappers/ |
H A D | select-base.c | 41 * select stub, return error if nfds > FD_SETSIZE 49 select(int nfds, fd_set * __restrict readfds, fd_set * __restrict writefds, argument 72 if (nfds > FD_SETSIZE) { 78 return __select(nfds, readfds, writefds, exceptfds, timeout); 80 return __select_nocancel(nfds, readfds, writefds, exceptfds, timeout);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | sys_generic.c | 1428 u_int nfds = uap->nfds; local 1440 if (nfds > OPEN_MAX || 1441 (nfds > p->p_rlimit[RLIMIT_NOFILE].rlim_cur && (proc_suser(p) || nfds > FD_SETSIZE))) 1448 ni = nfds * sizeof(struct pollfd) + sizeof(struct poll_continue_args); 1456 error = copyin(uap->fds, fds, nfds * sizeof(struct pollfd)); 1479 for (i = 0; i < nfds; i++) { 1543 cont->pca_nfds = nfds; 1556 error = copyout(fds, uap->fds, nfds * sizeo [all...] |
Completed in 26 milliseconds