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

1234567891011>>

/freebsd-current/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dpoll.h28 * Compiling against musl correctly points out that including sys/poll.h is
31 * However, glibc, klibc and uclibc break this shim by including sys/poll.h
32 * from poll.h, so we add explicit exceptions for them.
37 #include_next <sys/poll.h>
39 #include <poll.h>
/freebsd-current/lib/libc/sys/
H A Dpoll.c33 #include <sys/poll.h>
38 #pragma weak poll macro
40 poll(struct pollfd pfd[], nfds_t nfds, int timeout) function
42 return (INTERPOS_SYS(poll, pfd, nfds, timeout));
H A Dppoll.c33 #include <sys/poll.h>
/freebsd-current/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-current/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-current/tools/test/stress2/misc/
H A Dpoll.sh18 cat > /tmp/poll.py <<EOF
40 chmod +x /tmp/poll.py
42 log=/tmp/poll.log
44 cpuset -l 0 /tmp/poll.py > $log &
50 while pgrep -qf poll.py; do pkill -f poll.py; done
54 rm -f /tmp/poll.py $log
/freebsd-current/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-current/tools/regression/poll/
H A Dsockpoll.c9 #include <poll.h>
127 if (poll(&pfd0, 1, 0) == -1)
128 err(1, "poll");
130 if (poll(&pfd1, 1, 0) == -1)
131 err(1, "poll");
135 if (poll(&pfd0, 1, 0) == -1)
136 err(1, "poll");
138 if (poll(&pfd1, 1, 0) == -1)
139 err(1, "poll");
142 if (poll(
[all...]
H A Dpipepoll.c2 #include <sys/poll.h>
63 printf("poll result %d expected %d. ",
104 if ((res = poll(&pfd, 1, 0)) < 0)
105 err(1, "poll");
122 if ((res = poll(&pfd, 1, 0)) < 0)
123 err(1, "poll");
130 if ((res = poll(&pfd, 1, 0)) < 0)
131 err(1, "poll");
135 if ((res = poll(&pfd, 1, 0)) < 0)
136 err(1, "poll");
[all...]
/freebsd-current/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 */
35 # include <poll.h>
37 # include <sys/poll.h>
83 int poll(struct pollfd *, nfds_t, int);
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Deventpoll.h31 #include <sys/poll.h>
H A Dpoll.h32 #include <sys/poll.h>
/freebsd-current/sbin/dhclient/
H A Dprivsep.h21 #include <poll.h>
/freebsd-current/contrib/netcat/
H A Datomicio.c30 #include <poll.h>
55 (void)poll(&pfd, 1, -1);
/freebsd-current/usr.bin/talk/
H A Dctl_transact.c37 #include <poll.h>
76 nready = poll(pfd, 1, CTL_WAIT * 1000);
95 nready = poll(pfd, 1, 0);
/freebsd-current/lib/libevent1/
H A DMakefile11 SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
/freebsd-current/tests/sys/audit/
H A Dutils.h30 #include <poll.h>
/freebsd-current/usr.sbin/fifolog/fifolog_writer/
H A Dfifolog_writer.c36 #include <poll.h>
99 i = poll(pfd, 1, 1000);
/freebsd-current/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-current/crypto/heimdal/lib/ipc/
H A Dhi_locl.h44 #include <sys/poll.h>
/freebsd-current/crypto/openssh/
H A Dmonitor_fdpass.c41 # include <poll.h>
44 # include <sys/poll.h>
93 (void)poll(&pfd, 1, -1);
148 (void)poll(&pfd, 1, -1);
H A Datomicio.c35 #include <poll.h>
38 # include <sys/poll.h>
77 (void)poll(&pfd, 1, -1);
139 (void)poll(&pfd, 1, -1);
/freebsd-current/lib/libnetgraph/
H A Dinternal.h45 #include <poll.h>
/freebsd-current/stand/userboot/userboot/
H A Duserboot_cons.c125 return (CALLBACK(poll));
/freebsd-current/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_ttypty.c41 #include <poll.h>
81 RL(poll(&pfd, 1, INFTIM));
82 (void)printf("tty: returned from poll - %d\n", pfd.revents);

Completed in 351 milliseconds

1234567891011>>