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

1234567891011>>

/freebsd-11.0-release/lib/libc/sys/
H A Dselect.c34 __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 Dpselect.c37 #include <sys/select.h>
/freebsd-11.0-release/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.0-release/contrib/ntp/lib/isc/unix/
H A Dsocket_p.h26 #include <sys/select.h>
/freebsd-11.0-release/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.0-release/crypto/heimdal/lib/kadm5/
H A Diprop.h42 #include <sys/select.h>
/freebsd-11.0-release/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.0-release/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.0-release/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.0-release/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.0-release/contrib/gdb/gdb/config/rs6000/
H A Dxm-rs6000.h32 * <sys/select.h> below.
36 #include <sys/select.h>
/freebsd-11.0-release/usr.sbin/ppp/
H A Dprobe.c41 /* Does select() alter the passed time value ? */
49 select(0, NULL, NULL, NULL, &t);
/freebsd-11.0-release/usr.sbin/bhyve/
H A Dconsport.c33 #include <sys/select.h>
76 if (select(STDIN_FILENO + 1, &rfds, NULL, NULL, &tv) > 0) {
/freebsd-11.0-release/tests/sys/mqueue/
H A Dmqtest3.c4 #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 Dheaders.h56 #include <sys/select.h>
/freebsd-11.0-release/crypto/heimdal/kpasswd/
H A Dkpasswd_locl.h65 #include <sys/select.h>
/freebsd-11.0-release/crypto/heimdal/appl/push/
H A Dpush_locl.h56 #include <sys/select.h>
/freebsd-11.0-release/crypto/heimdal/kadmin/
H A Dkadmin_locl.h53 #include <sys/select.h>
62 #include <sys/select.h>
/freebsd-11.0-release/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.0-release/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.0-release/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c119 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 Dcvmx-helper-jtag.c137 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 Dcommon.h37 #include <sys/select.h>
134 int (*select)(const struct dirent *),
/freebsd-11.0-release/crypto/openssh/openbsd-compat/
H A Dbsd-poll.c25 # 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 */

Completed in 201 milliseconds

1234567891011>>