Searched refs:maxfds (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/select/ |
D | select03.c | 21 static int negative_nfds = -1, maxfds; variable 36 { "Invalid readfds", &maxfds, &pfds_closed, &pwritefds_reg, &nullfds, &valid_to, EBADF }, 37 { "Invalid writefds", &maxfds, &preadfds_reg, &pfds_closed, &nullfds, &valid_to, EBADF }, 38 { "Invalid exceptfds", &maxfds, &preadfds_reg, &pwritefds_reg, &pfds_closed, &valid_to, EBADF }, 39 { "Faulty readfds", &maxfds, &faulty_fds, &pwritefds_reg, &nullfds, &valid_to, EFAULT }, 40 { "Faulty writefds", &maxfds, &preadfds_reg, &faulty_fds, &nullfds, &valid_to, EFAULT }, 41 { "Faulty exceptfds", &maxfds, &preadfds_reg, &pwritefds_reg, &faulty_fds, &valid_to, EFAULT }, 42 { "Faulty timeout", &maxfds, &preadfds_reg, &pwritefds_reg, &nullfds, &invalid_to, EFAULT }, 112 maxfds = fd[1] + 1; in setup()
|
/third_party/ltp/testcases/kernel/syscalls/dup/ |
D | dup03.c | 45 long maxfds; in setup() local 47 maxfds = sysconf(_SC_OPEN_MAX); in setup() 48 if (maxfds == -1) in setup() 51 fd = SAFE_MALLOC(maxfds * sizeof(int)); in setup() 55 for (nfds = 1; nfds < maxfds; nfds++) { in setup() 57 if (fd[nfds] >= maxfds - 1) in setup()
|
/third_party/curl/lib/ |
D | select.h | 87 int tpf_select_libcurl(int maxfds, fd_set* reads, fd_set* writes,
|
D | select.c | 463 int tpf_select_libcurl(int maxfds, fd_set *reads, fd_set *writes, in tpf_select_libcurl() argument 468 rc = tpf_select_bsd(maxfds, reads, writes, excepts, tv); in tpf_select_libcurl()
|
/third_party/python/Lib/ |
D | socket.py | 563 def recv_fds(sock, bufsize, maxfds, flags=0): argument 573 _socket.CMSG_LEN(maxfds * fds.itemsize))
|
/third_party/python/Doc/library/ |
D | socket.rst | 1167 .. function:: recv_fds(sock, bufsize, maxfds[, flags]) 1169 Receive up to *maxfds* file descriptors from an :const:`AF_UNIX` socket *sock*. 1492 following function will receive up to *maxfds* file descriptors, 1499 def recv_fds(sock, msglen, maxfds): 1501 msg, ancdata, flags, addr = sock.recvmsg(msglen, socket.CMSG_LEN(maxfds * fds.itemsize))
|