/freebsd-11-stable/lib/libc/sys/ |
H A D | select.c | 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-stable/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-stable/contrib/ntp/lib/isc/unix/ |
H A D | socket_p.h | 26 #include <sys/select.h>
|
/freebsd-11-stable/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-stable/crypto/heimdal/lib/kadm5/ |
H A D | iprop.h | 42 #include <sys/select.h>
|
/freebsd-11-stable/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-stable/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-stable/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-stable/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-stable/contrib/gdb/gdb/config/rs6000/ |
H A D | xm-rs6000.h | 32 * <sys/select.h> below. 36 #include <sys/select.h>
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | probe.c | 43 /* Does select() alter the passed time value ? */ 51 select(0, NULL, NULL, NULL, &t);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstructionSelector.cpp | 37 bool select(MachineInstr &I) override; 83 bool RISCVInstructionSelector::select(MachineInstr &I) { function in class:RISCVInstructionSelector
|
/freebsd-11-stable/tests/sys/mqueue/ |
H A D | mqtest3.c | 4 #include <sys/select.h> 67 status = select(mq_getfd_np(mq) + 1, &set, NULL, 70 err(1, "child process: select()"); 99 status = select(mq_getfd_np(mq) + 1, NULL, &set, 102 err(1, "select()");
|
/freebsd-11-stable/crypto/heimdal/kcm/ |
H A D | headers.h | 56 #include <sys/select.h>
|
/freebsd-11-stable/crypto/heimdal/kpasswd/ |
H A D | kpasswd_locl.h | 65 #include <sys/select.h>
|
/freebsd-11-stable/crypto/heimdal/appl/push/ |
H A D | push_locl.h | 56 #include <sys/select.h>
|
/freebsd-11-stable/crypto/heimdal/kadmin/ |
H A D | kadmin_locl.h | 53 #include <sys/select.h> 62 #include <sys/select.h>
|
/freebsd-11-stable/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-stable/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-stable/usr.sbin/bhyve/ |
H A D | consport.c | 38 #include <sys/select.h> 84 if (select(STDIN_FILENO + 1, &rfds, NULL, NULL, &tv) > 0) {
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 116 if (select(0, NULL, NULL, NULL, &tv) == -1) 206 ATF_TC(select); variable 207 ATF_TC_HEAD(select, tc) 210 atf_tc_set_md_var(tc, "descr", "Test select(2) timing"); 214 ATF_TC_BODY(select, tc) 340 ATF_TP_ADD_TC(tp, select);
|
/freebsd-11-stable/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-stable/contrib/libreadline/ |
H A D | parens.c | 49 # include <sys/select.h> 139 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);
|