/freebsd-11.0-release/lib/libc/sys/ |
H A D | select.c | 34 __FBSDID("$FreeBSD: releng/11.0/lib/libc/sys/select.c 276630 2015-01-03 18:38:46Z kib $"); 37 #include <sys/select.h> 42 #pragma weak select macro 44 select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t) function
|
H A D | pselect.c | 37 #include <sys/select.h>
|
/freebsd-11.0-release/tests/sys/kern/pipe/ |
H A D | pipe_reverse2_test.c | 29 #include <sys/select.h> 50 n = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 }); 52 errx(1, "FAIL: select initial reverse direction"); 60 n = select(pip[1] + 1, NULL, &set, NULL, &(struct timeval){ 0, 0 }); 62 errx(1, "FAIL: select reverse direction after write");
|
H A D | big_pipe_test.c | 1 #include <sys/select.h> 14 * EAGAIN while select(2) returns the descriptor as ready for write). 28 i = select(fd+1, NULL, &wfd, NULL, NULL); 30 err(1, "select failed"); 32 errx(1, "select returned unexpected value %d\n", i);
|
/freebsd-11.0-release/contrib/ntp/lib/isc/unix/ |
H A D | socket_p.h | 26 #include <sys/select.h>
|
/freebsd-11.0-release/share/doc/psd/20.ipctut/ |
H A D | strchkread.c | 39 * This program uses select() to check that someone is trying to connect 81 if (select(sock + 1, &ready, 0, 0, &to) < 0) { 82 perror("select");
|
/freebsd-11.0-release/crypto/heimdal/lib/kadm5/ |
H A D | iprop.h | 42 #include <sys/select.h>
|
/freebsd-11.0-release/tools/regression/poll/ |
H A D | pipeselect.c | 4 #include <sys/select.h> 73 errx(1, "fd = %d too large for select()", fd); 77 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0) 78 err(1, "select"); 81 * writer) is reported quite differently for select() than 82 * for poll(). select() must see a ready-to-read descriptor 108 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0) 109 err(1, "select"); 117 if (select(fd + 1, &rfds, NULL, NULL, &tv) < 0) 118 err(1, "select"); [all...] |
/freebsd-11.0-release/contrib/ntp/include/ |
H A D | ntp_select.h | 12 # include <sys/select.h> 15 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
|
/freebsd-11.0-release/lib/libc/gen/ |
H A D | scandir.c | 37 * Scan the directory dirname calling select to make a list of selected 51 #define SELECT(x) CALL_BLOCK(select, x) 57 #define SELECT(x) select(x) 76 DECLARE_BLOCK(int, select, const struct dirent *), 80 int (*select)(const struct dirent *), int (*dcomp)(const struct dirent **, 98 if (select != NULL && !SELECT(d))
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_client.c | 32 #include <sys/select.h> 64 rv = select(pipefd[0]+1, &rfds, NULL, NULL, &tv); 66 err(EXIT_FAILURE, "select"); 68 errx(EXIT_FAILURE, "select succesful"); 83 rv = select(100, &fds, &fds, &fds, &tv); 85 err(EXIT_FAILURE, "select"); 87 errx(EXIT_FAILURE, "select succesful"); 89 rv = select(0, NULL, NULL, NULL, &tv);
|
/freebsd-11.0-release/contrib/gdb/gdb/config/rs6000/ |
H A D | xm-rs6000.h | 32 * <sys/select.h> below. 36 #include <sys/select.h>
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | probe.c | 41 /* Does select() alter the passed time value ? */ 49 select(0, NULL, NULL, NULL, &t);
|
/freebsd-11.0-release/usr.sbin/bhyve/ |
H A D | consport.c | 33 #include <sys/select.h> 76 if (select(STDIN_FILENO + 1, &rfds, NULL, NULL, &tv) > 0) {
|
/freebsd-11.0-release/tests/sys/mqueue/ |
H A D | mqtest3.c | 4 #include <sys/select.h> 67 status = select(__mq_oshandle(mq)+1, &set, NULL, NULL, NULL); 69 err(1, "child process: select()"); 98 status = select(__mq_oshandle(mq)+1, NULL, &set, NULL, NULL); 100 err(1, "select()");
|
/freebsd-11.0-release/crypto/heimdal/kcm/ |
H A D | headers.h | 56 #include <sys/select.h>
|
/freebsd-11.0-release/crypto/heimdal/kpasswd/ |
H A D | kpasswd_locl.h | 65 #include <sys/select.h>
|
/freebsd-11.0-release/crypto/heimdal/appl/push/ |
H A D | push_locl.h | 56 #include <sys/select.h>
|
/freebsd-11.0-release/crypto/heimdal/kadmin/ |
H A D | kadmin_locl.h | 53 #include <sys/select.h> 62 #include <sys/select.h>
|
/freebsd-11.0-release/tools/regression/capsicum/syscalls/ |
H A D | misc.c | 34 #include <sys/select.h> 52 return (select(pfd + 1, NULL, &fdset, NULL, NULL) == -1 ? -1 : 0);
|
/freebsd-11.0-release/tools/tools/netrate/tcpconnect/ |
H A D | tcpconnect.c | 32 #include <sys/select.h> 70 * we wait, use non-blocking sockets and select(). Return 0 on success, or 96 if (select(s + 1, &read_set, &read_set, &read_set, NULL) < 0) { 98 err(-1, "select");
|
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 119 if (select(0, NULL, NULL, NULL, &tv) == -1) 208 ATF_TC(select); variable 209 ATF_TC_HEAD(select, tc) 212 atf_tc_set_md_var(tc, "descr", "Test select(2) timing"); 216 ATF_TC_BODY(select, tc) 342 ATF_TP_ADD_TC(tp, select);
|
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-jtag.c | 137 jtgd.s.select = 1 << qlm; 194 jtgd.s.select = 1 << qlm; 224 jtgd.s.select = 1 << qlm;
|
/freebsd-11.0-release/contrib/ofed/management/libibcommon/include/infiniband/ |
H A D | common.h | 37 #include <sys/select.h> 134 int (*select)(const struct dirent *),
|
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-poll.c | 25 # include <sys/select.h> 34 * A minimal implementation of poll(2), built on top of select(2). 84 /* poll timeout is msec, select is timeval (sec + usec) */ 91 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp); 94 /* scan through select results and set poll() flags */
|