Searched refs:poll (Results 1 - 25 of 242) sorted by relevance

12345678910

/freebsd-9.3-release/tools/regression/poll/
H A Dsockpoll.c3 #include <sys/poll.h>
107 if (poll(&pfd0, 1, 0) == -1)
108 err(1, "poll");
110 if (poll(&pfd1, 1, 0) == -1)
111 err(1, "poll");
115 if (poll(&pfd0, 1, 0) == -1)
116 err(1, "poll");
118 if (poll(&pfd1, 1, 0) == -1)
119 err(1, "poll");
122 if (poll(
[all...]
H A Dpipepoll.c3 #include <sys/poll.h>
64 printf("poll result %d expected %d. ",
105 if ((res = poll(&pfd, 1, 0)) < 0)
106 err(1, "poll");
123 if ((res = poll(&pfd, 1, 0)) < 0)
124 err(1, "poll");
131 if ((res = poll(&pfd, 1, 0)) < 0)
132 err(1, "poll");
136 if ((res = poll(&pfd, 1, 0)) < 0)
137 err(1, "poll");
[all...]
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_poll.c39 #include <poll.h>
49 __weak_reference(__poll, poll);
H A Dthr_select.c35 #include <poll.h>
/freebsd-9.3-release/sys/dev/random/
H A Drandomdev.h50 random_poll_func_t *poll; member in struct:random_systat
H A Dharvest.c36 #include <sys/poll.h>
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dpoll.h32 #include <sys/poll.h>
/freebsd-9.3-release/contrib/netcat/
H A Datomicio.c30 #include <poll.h>
55 (void)poll(&pfd, 1, -1);
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-poll.h1 /* $OpenBSD: poll.h,v 1.11 2003/12/10 23:10:08 millert Exp $ */
28 /* OPENBSD ORIGINAL: sys/sys/poll.h */
59 int poll(struct pollfd *, nfds_t, int);
/freebsd-9.3-release/sbin/dhclient/
H A Dprivsep.h21 #include <poll.h>
/freebsd-9.3-release/sys/boot/userboot/userboot/
H A Duserboot_cons.c85 return (CALLBACK(poll));
/freebsd-9.3-release/crypto/openssh/
H A Datomicio.c36 #include <poll.h>
39 # include <sys/poll.h>
71 (void)poll(&pfd, 1, -1);
128 (void)poll(&pfd, 1, -1);
H A Dmonitor_fdpass.c38 #include <poll.h>
87 (void)poll(&pfd, 1, -1);
143 (void)poll(&pfd, 1, -1);
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dcavium-ethernet.h59 void (*poll)(struct ifnet *ifp); /* Called periodically to check link status */ member in struct:__anon9464
/freebsd-9.3-release/sys/sys/
H A Dpoll.h37 * This file is intended to be compatible with the traditional poll.h.
43 * This structure is passed as an array to poll(2).
46 int fd; /* which file descriptor to poll */
52 * Requestable events. If poll(2) finds any of these set, they are
58 * POLLIN includes all of normal, band and urgent data. Most poll handlers
78 #define POLLERR 0x0008 /* some poll error occurred */
88 * Request that poll() wait forever.
90 * by poll.h.
99 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
/freebsd-9.3-release/usr.sbin/ftp-proxy/libevent/
H A DMakefile8 SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
/freebsd-9.3-release/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c36 #include <poll.h>
99 i = poll(pfd, 1, 1000);
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Dfilter_fork.c36 # include <poll.h>
38 # include <sys/poll.h>
140 poll(fds, idx, -1); /* -1 == INFTIM, wait forever */
/freebsd-9.3-release/lib/libnetgraph/
H A Dinternal.h47 #include <poll.h>
/freebsd-9.3-release/tools/regression/netinet/tcpfullwindowrst/
H A Dtcpfullwindowrsttest.c35 #include <poll.h>
106 if (poll(pfd, 2, 1000) == 0) {
/freebsd-9.3-release/contrib/ncurses/ncurses/
H A Dcurses.priv.h102 /* Some systems have a broken 'select()', but workable 'poll()'. Use that */
106 #include <poll.h>
108 #include <sys/poll.h>
/freebsd-9.3-release/contrib/bmake/
H A Djob.h87 * Emulate poll() in terms of select(). This is not a complete
91 #define poll emul_poll macro
109 * in poll before coming out to see if a child has finished.
/freebsd-9.3-release/contrib/nvi/cl/
H A Dcl_read.c143 struct timeval poll; local
179 poll.tv_sec = 0;
180 poll.tv_usec = 0;
184 &rdfd, NULL, NULL, tp == NULL ? &poll : tp)) {
/freebsd-9.3-release/contrib/nvi/ip/
H A Dip_read.c107 struct timeval poll; local
125 poll.tv_sec = 0;
126 poll.tv_usec = 0;
130 &rdfd, NULL, NULL, tp == NULL ? &poll : tp)) {
/freebsd-9.3-release/sys/boot/userboot/
H A Duserboot.h59 int (*poll)(void *arg); member in struct:loader_callbacks

Completed in 144 milliseconds

12345678910