$search
#include <unistd.h>
#include <sys/types.h>
#include <sys/time.h>
#include <assert.h>
#include <string.h>
#include "poll_emu.h"
Go to the source code of this file.
Defines | |
#define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
Functions | |
static int | map_poll_spec (struct pollfd *pArray, unsigned long n_fds, fd_set *pReadSet, fd_set *pWriteSet, fd_set *pExceptSet) |
static void | map_select_results (struct pollfd *pArray, unsigned long n_fds, fd_set *pReadSet, fd_set *pWriteSet, fd_set *pExceptSet) |
static struct timeval * | map_timeout (int poll_timeout, struct timeval *pSelTimeout) |
int | poll_emu (structpollfd *pArray, unsigned long n_fds, int timeout) |
#define MAX | ( | a, | |||
b | ) | ((a) > (b) ? (a) : (b)) |
Definition at line 96 of file poll_emu.c.
static int map_poll_spec | ( | struct pollfd * | pArray, | |
unsigned long | n_fds, | |||
fd_set * | pReadSet, | |||
fd_set * | pWriteSet, | |||
fd_set * | pExceptSet | |||
) | [static] |
Definition at line 112 of file poll_emu.c.
static void map_select_results | ( | struct pollfd * | pArray, | |
unsigned long | n_fds, | |||
fd_set * | pReadSet, | |||
fd_set * | pWriteSet, | |||
fd_set * | pExceptSet | |||
) | [static] |
Definition at line 230 of file poll_emu.c.
static struct timeval* map_timeout | ( | int | poll_timeout, | |
struct timeval * | pSelTimeout | |||
) | [static, read] |
Definition at line 166 of file poll_emu.c.
int poll_emu | ( | struct pollfd * | pArray, | |
unsigned long | n_fds, | |||
int | timeout | |||
) |
Definition at line 273 of file poll_emu.c.