Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Go to the source code of this file.
Macros | |
#define | ast_poll(a, b, c) poll(a, b, c) |
Functions | |
int | ast_poll2 (struct pollfd *pArray, unsigned long n_fds, struct timeval *tv) |
Same as poll(2), except the time is specified in microseconds and the tv argument is modified to indicate the time remaining. More... | |
static int | ast_poll_fd_index (struct pollfd *haystack, int nfds, int needle) |
Shortcut for conversion of FD_ISSET to poll(2)-based. More... | |
int ast_poll2 | ( | struct pollfd * | pArray, |
unsigned long | n_fds, | ||
struct timeval * | tv | ||
) |
Same as poll(2), except the time is specified in microseconds and the tv argument is modified to indicate the time remaining.
Definition at line 268 of file poll.c.
References ast_select(), ast_tv(), ast_tvadd(), ast_tvdiff_ms(), ast_tvnow(), ast_tvsub(), FD_ZERO, and NULL.
Referenced by AST_TEST_DEFINE().
|
inlinestatic |
Shortcut for conversion of FD_ISSET to poll(2)-based.
Definition at line 128 of file poll-compat.h.