Searched refs:pfd (Results 1 - 3 of 3) sorted by relevance
/haiku/src/tests/system/kernel/ |
H A D | null_poll_test.cpp | 17 struct pollfd pfd; local 18 pfd.fd = fd; 19 pfd.events = POLLOUT; 20 pfd.revents = 0; 22 int rv = poll(&pfd, 1, -1); 26 printf("events=%08x revents=%08x\n", pfd.events, pfd.revents); 27 if (pfd.revents != POLLOUT)
|
H A D | fifo_poll_test.cpp | 20 struct pollfd pfd; local 21 pfd.fd = fd; 22 pfd.events = POLLIN | POLLRDBAND; 27 int rv = poll(&pfd, 1, 500); 40 printf("events=%08x revents=%08x\n", pfd.events, pfd.revents); 41 if ((pfd.events & pfd.revents) == 0)
|
/haiku/src/bin/pcmcia-cs/ |
H A D | dump_cis.c | 1019 int i, fd, pfd = -1; local 1060 pfd = open_sock(0); 1063 fd = pfd = open_sock(i); 1065 if (pfd < 0) 1093 if (ioctl(pfd, DS_PARSE_TUPLE, &arg) == 0) 1106 if ((i == 0) && (pfd < 0)) {
|
Completed in 86 milliseconds