Searched refs:select (Results 1 - 25 of 352) sorted by relevance

1234567891011>>

/freebsd-11-stable/lib/libc/sys/
H A Dselect.c37 #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 Dpselect.c37 #include <sys/select.h>
/freebsd-11-stable/tests/sys/kern/pipe/
H A Dpipe_reverse2_test.c29 #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 Dbig_pipe_test.c1 #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 Dsocket_p.h26 #include <sys/select.h>
/freebsd-11-stable/share/doc/psd/20.ipctut/
H A Dstrchkread.c39 * 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 Diprop.h42 #include <sys/select.h>
/freebsd-11-stable/tools/regression/poll/
H A Dpipeselect.c4 #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 Dntp_select.h12 # include <sys/select.h>
15 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
/freebsd-11-stable/lib/libc/gen/
H A Dscandir.c37 * 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 Dh_client.c32 #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 Dxm-rs6000.h32 * <sys/select.h> below.
36 #include <sys/select.h>
/freebsd-11-stable/usr.sbin/ppp/
H A Dprobe.c43 /* 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 DRISCVInstructionSelector.cpp37 bool select(MachineInstr &I) override;
83 bool RISCVInstructionSelector::select(MachineInstr &I) { function in class:RISCVInstructionSelector
/freebsd-11-stable/tests/sys/mqueue/
H A Dmqtest3.c4 #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 Dheaders.h56 #include <sys/select.h>
/freebsd-11-stable/crypto/heimdal/kpasswd/
H A Dkpasswd_locl.h65 #include <sys/select.h>
/freebsd-11-stable/crypto/heimdal/appl/push/
H A Dpush_locl.h56 #include <sys/select.h>
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dkadmin_locl.h53 #include <sys/select.h>
62 #include <sys/select.h>
/freebsd-11-stable/tools/regression/capsicum/syscalls/
H A Dmisc.c34 #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 Dtcpconnect.c32 #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 Dconsport.c38 #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 Dt_sleep.c116 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 Dcvmx-helper-jtag.c137 jtgd.s.select = 1 << qlm;
194 jtgd.s.select = 1 << qlm;
224 jtgd.s.select = 1 << qlm;
/freebsd-11-stable/contrib/libreadline/
H A Dparens.c49 # include <sys/select.h>
139 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);

Completed in 222 milliseconds

1234567891011>>