RTEMS CPU Kit with SuperCore
Data Structures | Macros | Typedefs | Functions
libnetworking/sys/poll.h File Reference
#include <sys/cdefs.h>
Include dependency graph for libnetworking/sys/poll.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pollfd
 

Macros

#define POLLIN   0x0001 /* any readable data available */
 
#define POLLPRI   0x0002 /* OOB/Urgent readable data */
 
#define POLLOUT   0x0004 /* file descriptor is writeable */
 
#define POLLRDNORM   0x0040 /* non-OOB/URG data available */
 
#define POLLWRNORM   POLLOUT /* no write type differentiation */
 
#define POLLRDBAND   0x0080 /* OOB/Urgent readable data */
 
#define POLLWRBAND   0x0100 /* OOB/Urgent data can be written */
 
#define POLLERR   0x0008 /* some poll error occurred */
 
#define POLLHUP   0x0010 /* file descriptor was "hung up" */
 
#define POLLNVAL   0x0020 /* requested events "invalid" */
 

Typedefs

typedef unsigned int nfds_t
 

Functions

__BEGIN_DECLS int poll (struct pollfd _pfd[], nfds_t _nfds, int _timeout)