/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/ |
H A D | bsd-closefrom.c | 71 long fd, maxfd; local 97 maxfd = sysconf(_SC_OPEN_MAX); 99 maxfd = getdtablesize(); 101 if (maxfd < 0) 102 maxfd = OPEN_MAX; 104 for (fd = lowfd; fd < maxfd; fd++)
|
H A D | bsd-poll.c | 43 int saved_errno, ret, fd, maxfd = 0; local 54 maxfd = MAX(maxfd, fd); 57 nmemb = howmany(maxfd + 1 , NFDBITS); 88 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
|
/macosx-10.10.1/sudo-73/src/ |
H A D | closefrom.c | 66 long fd, maxfd; local 74 maxfd = sysconf(_SC_OPEN_MAX); 76 maxfd = getdtablesize(); 78 if (maxfd < 0) 79 maxfd = OPEN_MAX; 81 for (fd = lowfd; fd < maxfd; fd++)
|
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/ |
H A D | lib502.c | 56 int maxfd = -99; local 72 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 74 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 76 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib1501.c | 80 int maxfd = -99; local 92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); 94 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 96 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib503.c | 66 int maxfd = -99; local 82 multi_fdset(m, &rd, &wr, &exc, &maxfd); 84 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 86 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib504.c | 64 int maxfd = -99; local 94 multi_fdset(m, &rd, &wr, &exc, &maxfd); 96 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 98 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib507.c | 61 int maxfd = -99; local 69 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 71 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 73 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib530.c | 77 int maxfd = -99; local 98 multi_fdset(m, &rd, &wr, &exc, &maxfd); 100 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 102 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib533.c | 61 int maxfd = -99; local 94 multi_fdset(m, &rd, &wr, &exc, &maxfd); 96 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 98 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib560.c | 79 int maxfd = -99; local 90 multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 92 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 94 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib564.c | 59 int maxfd = -99; local 75 multi_fdset(m, &rd, &wr, &exc, &maxfd); 77 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 79 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib573.c | 71 int maxfd = -99; local 87 multi_fdset(m, &fdread, &fdwrite, &fdexcep, &maxfd); 89 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 91 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib575.c | 83 int maxfd = -99; local 92 multi_fdset(mhandle, &fdread, &fdwrite, &fdexcep, &maxfd); 94 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 96 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib1502.c | 89 int maxfd = -99; local 97 multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 99 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 101 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | lib1506.c | 93 int maxfd = -99; local 109 multi_fdset(m, &rd, &wr, &exc, &maxfd); 111 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 113 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib525.c | 118 int maxfd = -99; local 134 multi_fdset(m, &rd, &wr, &exc, &maxfd); 136 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 138 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib526.c | 87 int maxfd = -99; local 132 multi_fdset(m, &rd, &wr, &exc, &maxfd); 134 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 136 select_test(maxfd+1, &rd, &wr, &exc, &interval);
|
H A D | lib536.c | 40 int maxfd = -99; local 60 res_multi_fdset(multi, &fdread, &fdwrite, &fdexcep, &maxfd); 64 /* At this point, maxfd is guaranteed to be greater or equal than -1. */ 66 res_select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &interval);
|
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/ |
H A D | multi-double.c | 69 int maxfd = -1; local 91 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 94 function calls. On success, the value of maxfd is guaranteed to be 95 greater or equal than -1. We call select(maxfd + 1, ...), specially in 96 case of (maxfd == -1), we call select(0, ...), which is basically equal 99 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | multi-single.c | 67 int maxfd = -1; local 89 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 92 function calls. On success, the value of maxfd is guaranteed to be 93 greater or equal than -1. We call select(maxfd + 1, ...), specially in 94 case of (maxfd == -1), we call select(0, ...), which is basically equal 97 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | imap-multi.c | 89 int maxfd = -1; local 113 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 116 function calls. On success, the value of maxfd is guaranteed to be 117 greater or equal than -1. We call select(maxfd + 1, ...), specially in 118 case of (maxfd == -1), we call select(0, ...), which is basically equal 120 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | multi-app.c | 80 int maxfd = -1; local 102 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 105 function calls. On success, the value of maxfd is guaranteed to be 106 greater or equal than -1. We call select(maxfd + 1, ...), specially in 107 case of (maxfd == -1), we call select(0, ...), which is basically equal 110 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | multi-post.c | 90 int maxfd = -1; local 112 curl_multi_fdset(multi_handle, &fdread, &fdwrite, &fdexcep, &maxfd); 115 function calls. On success, the value of maxfd is guaranteed to be 116 greater or equal than -1. We call select(maxfd + 1, ...), specially in 117 case of (maxfd == -1), we call select(0, ...), which is basically equal 120 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
|
H A D | pop3-multi.c | 89 int maxfd = -1; local 113 curl_multi_fdset(mcurl, &fdread, &fdwrite, &fdexcep, &maxfd); 116 function calls. On success, the value of maxfd is guaranteed to be 117 greater or equal than -1. We call select(maxfd + 1, ...), specially in 118 case of (maxfd == -1), we call select(0, ...), which is basically equal 120 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|