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

1234567891011>>

/freebsd-10.1-release/tools/regression/pipe/
H A Dpipe-reverse2.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 Dbigpipetest.c5 #include <sys/select.h>
13 * EAGAIN while select(2) returns the descriptor as ready for write).
26 i = select(fd+1, NULL, &wfd, NULL, NULL);
28 perror("select");
32 fprintf(stderr, "select returned unexpected value %d\n", i);
/freebsd-10.1-release/contrib/ntp/lib/isc/unix/
H A Dsocket_p.h26 #include <sys/select.h>
/freebsd-10.1-release/share/doc/psd/20.ipctut/
H A Dstrchkread.c43 * This program uses select() to check that someone is trying to connect
85 if (select(sock + 1, &ready, 0, 0, &to) < 0) {
86 perror("select");
/freebsd-10.1-release/crypto/heimdal/lib/kadm5/
H A Diprop.h42 #include <sys/select.h>
/freebsd-10.1-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-10.1-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-10.1-release/lib/libc/gen/
H A Dscandir.c37 * Scan the directory dirname calling select to make a list of selected
64 int (*select)(const struct dirent *), int (*dcomp)(const struct dirent **,
81 if (select != NULL && !(*select)(d))
/freebsd-10.1-release/contrib/gdb/gdb/config/rs6000/
H A Dxm-rs6000.h32 * <sys/select.h> below.
36 #include <sys/select.h>
/freebsd-10.1-release/usr.sbin/ppp/
H A Dprobe.c41 /* Does select() alter the passed time value ? */
49 select(0, NULL, NULL, NULL, &t);
/freebsd-10.1-release/usr.bin/talk/
H A Dctl_transact.c83 nready = select(32, &read_mask, 0, 0, &wait);
105 nready = select(32, &read_mask, 0, 0, &wait);
/freebsd-10.1-release/usr.sbin/bhyve/
H A Dconsport.c33 #include <sys/select.h>
76 if (select(STDIN_FILENO + 1, &rfds, NULL, NULL, &tv) > 0) {
/freebsd-10.1-release/tools/regression/mqueue/mqtest3/
H A Dmqtest3.c4 #include <sys/select.h>
60 status = select(__mq_oshandle(mq)+1, &set, NULL, NULL, NULL);
62 err(1, "child process: select()");
91 status = select(__mq_oshandle(mq)+1, NULL, &set, NULL, NULL);
93 err(1, "select()");
/freebsd-10.1-release/crypto/heimdal/kcm/
H A Dheaders.h56 #include <sys/select.h>
/freebsd-10.1-release/crypto/heimdal/kpasswd/
H A Dkpasswd_locl.h65 #include <sys/select.h>
/freebsd-10.1-release/lib/libkse/thread/
H A Dthr_pselect.c32 #include <sys/select.h>
H A Dthr_select.c49 __weak_reference(__select, select);
/freebsd-10.1-release/contrib/ncurses/misc/
H A Dchkdef.cmd79 select
105 end /* select */
/freebsd-10.1-release/crypto/heimdal/appl/push/
H A Dpush_locl.h56 #include <sys/select.h>
/freebsd-10.1-release/crypto/heimdal/kadmin/
H A Dkadmin_locl.h53 #include <sys/select.h>
62 #include <sys/select.h>
/freebsd-10.1-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-10.1-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-10.1-release/crypto/openssh/openbsd-compat/
H A Dbsd-misc.c22 # include <sys/select.h>
147 rc = select(0, NULL, NULL, NULL, &time2wait);
204 (void)select(0, 0, 0, 0, &sleepytime);
/freebsd-10.1-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-10.1-release/contrib/libreadline/
H A Dparens.c49 # include <sys/select.h>
139 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);

Completed in 474 milliseconds

1234567891011>>