Searched refs:pollfd (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/sys/
H A Dpoll.h96 struct pollfd struct
115 extern int poll (struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll);
/xnu-2782.1.97/tools/tests/libMicro/
H A Dconnection.c247 struct pollfd pollfd; local
250 pollfd.fd = ts->ts_cons[i];
251 pollfd.events = POLLOUT;
252 if (poll(&pollfd, 1, -1) == 1)
265 struct pollfd pollfd; local
271 pollfd.fd = ts->ts_lsns[i];
272 pollfd.events = POLLIN;
273 if (poll(&pollfd,
[all...]
H A Dpoll.c52 typedef struct pollfd pfd_t;
/xnu-2782.1.97/bsd/kern/
H A Dsys_generic.c1412 struct pollfd *fds;
1423 * really related to the size of the pollfd array. Make sure
1436 ni = nfds * sizeof(struct pollfd) + sizeof(struct poll_continue_args);
1443 fds = (struct pollfd *)&cont[1];
1444 error = copyin(uap->fds, fds, nfds * sizeof(struct pollfd));
1544 error = copyout(fds, uap->fds, nfds * sizeof(struct pollfd));
1560 struct pollfd *fds = CAST_DOWN(struct pollfd *, kevp->udata);
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dsocket_tests.c497 struct pollfd my_pollfd;
/xnu-2782.1.97/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c451 struct pollfd pl;

Completed in 34 milliseconds