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

1234567891011>>

/freebsd-11-stable/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso2/
H A Dh_helper_dso2.c30 #include <poll.h>
44 poll(NULL, 0, -1);
56 poll(NULL, 0, -1);
/freebsd-11-stable/lib/libc/sys/
H A Dpoll.c37 #include <sys/poll.h>
42 #pragma weak poll macro
44 poll(struct pollfd pfd[], nfds_t nfds, int timeout) function
H A Dppoll.c37 #include <sys/poll.h>
/freebsd-11-stable/contrib/netbsd-tests/libexec/ld.elf_so/helper_dso1/
H A Dh_helper_dso1.c30 #include <poll.h>
49 poll(NULL, 0, -1);
61 poll(NULL, 0, -1);
/freebsd-11-stable/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-11-stable/tests/sys/audit/
H A Dutils.h32 #include <poll.h>
/freebsd-11-stable/contrib/netbsd-tests/lib/libevent/
H A Dt_event.sh44 atf_test_case poll
46 atf_set "descr" "Test libevent with poll backend"
65 atf_add_test_case poll
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dpoll.h29 * $FreeBSD: stable/11/sys/compat/linuxkpi/common/include/linux/poll.h 328653 2018-02-01 13:01:44Z hselasky $
34 #include <sys/poll.h>
/freebsd-11-stable/contrib/netcat/
H A Datomicio.c30 #include <poll.h>
55 (void)poll(&pfd, 1, -1);
/freebsd-11-stable/contrib/apr/
H A Dbuild.conf17 dso file_io locks memory misc mmap network_io poll random
/freebsd-11-stable/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-11-stable/sbin/dhclient/
H A Dprivsep.h23 #include <poll.h>
/freebsd-11-stable/usr.bin/talk/
H A Dctl_transact.c41 #include <poll.h>
80 nready = poll(pfd, 1, CTL_WAIT * 1000);
99 nready = poll(pfd, 1, 0);
/freebsd-11-stable/contrib/apr/support/unix/
H A Dwaitio.c34 #include <poll.h>
37 #include <sys/poll.h>
51 rc = poll(&pfd, 1, timeout);
/freebsd-11-stable/crypto/openssh/
H A Datomicio.c36 #include <poll.h>
39 # include <sys/poll.h>
72 (void)poll(&pfd, 1, -1);
129 (void)poll(&pfd, 1, -1);
H A Dmonitor_fdpass.c41 # include <poll.h>
44 # include <sys/poll.h>
93 (void)poll(&pfd, 1, -1);
149 (void)poll(&pfd, 1, -1);
/freebsd-11-stable/lib/libevent/
H A DMakefile12 SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c38 #include <poll.h>
101 i = poll(pfd, 1, 1000);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_poll.c39 #include <poll.h>
54 (void)poll(&pfd, 1, 2000);
67 (void)poll(&pfd, 1, INFTIM);
81 (void)poll(&pfd, 1, INFTIM);
153 "Basis functionality test for poll(2)");
175 ATF_REQUIRE_EQ_MSG(ret = poll(&pfds[0], 1, 1), 0,
183 ATF_REQUIRE_EQ_MSG(ret = poll(&pfds[1], 1, 1), 1,
192 ATF_REQUIRE_EQ_MSG(ret = poll(pfds, 2, 1), 1,
204 ATF_REQUIRE_EQ_MSG(ret = poll(pfds, 2, 1), 2,
218 atf_tc_set_md_var(tc, "descr", "Check errors from poll(
[all...]
/freebsd-11-stable/lib/libnetgraph/
H A Dinternal.h47 #include <poll.h>
/freebsd-11-stable/crypto/heimdal/lib/ipc/
H A Dhi_locl.h44 #include <sys/poll.h>
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dcavium-ethernet.h61 void (*poll)(struct ifnet *ifp); /* Called periodically to check link status */ member in struct:__anon12172
/freebsd-11-stable/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.
112 int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
/freebsd-11-stable/stand/userboot/userboot/
H A Duserboot_cons.c129 return (CALLBACK(poll));

Completed in 179 milliseconds

1234567891011>>