Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

gwpoll.h File Reference

#include <sys/poll.h>

Include dependency graph for gwpoll.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  pollfd

Defines

#define POLLIN   1
#define POLLPRI   2
#define POLLOUT   4
#define POLLERR   8
#define POLLHUP   16
#define POLLNVAL   32
#define POLL_NOTIMEOUT   (-1)
#define poll(fdarray, numfds, timeout)   gw_poll(fdarray, numfds, timeout)

Functions

int gw_poll (struct pollfd *fdarray, unsigned int numfds, int timeout)


Define Documentation

#define poll fdarray,
numfds,
timeout   )     gw_poll(fdarray, numfds, timeout)
 

Definition at line 104 of file gwpoll.h.

Referenced by gwthread_poll(), gwthread_pollfd(), and gwthread_sleep().

#define POLL_NOTIMEOUT   (-1)
 

Definition at line 100 of file gwpoll.h.

#define POLLERR   8
 

Definition at line 96 of file gwpoll.h.

Referenced by conn_flush(), conn_wait(), and poll_callback().

#define POLLHUP   16
 

Definition at line 97 of file gwpoll.h.

#define POLLIN   1
 

Definition at line 91 of file gwpoll.h.

Referenced by accept_thread(), cgw_listener(), cgw_wait_command(), conn_register_real(), emi2_listener(), fake_listener(), gw_accept(), unlocked_register_pollin(), and wait_for_connections().

#define POLLNVAL   32
 

Definition at line 98 of file gwpoll.h.

#define POLLOUT   4
 

Definition at line 93 of file gwpoll.h.

Referenced by conn_flush(), and unlocked_register_pollout().

#define POLLPRI   2
 

Definition at line 92 of file gwpoll.h.


Function Documentation

int gw_poll struct pollfd fdarray,
unsigned int  numfds,
int  timeout
 

See file LICENSE for details about the license agreement for using, modifying, copying or deriving work from this software.