Asterisk - The Open Source Telephony Project
18.5.0
|
#include "asterisk.h"
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
#include <assert.h>
#include <string.h>
#include <errno.h>
#include "asterisk/utils.h"
#include "asterisk/poll-compat.h"
Go to the source code of this file.
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... | |
Variables | |
unsigned int | ast_FD_SETSIZE = FD_SETSIZE |
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(), and do_monitor().