Tizen RT Libs&Environment  v1.0 D5
poll.h File Reference

Poll APIs. More...

#include <tinyara/config.h>
#include <stdint.h>
#include <semaphore.h>
Include dependency graph for poll.h:

Go to the source code of this file.

Data Structures

struct  pollfd
 

Macros

#define POLLIN   (0x01) /* TinyAra does not make priority distinctions */
 
#define POLLRDNORM   (0x01)
 
#define POLLRDBAND   (0x01)
 
#define POLLPRI   (0x01)
 
#define POLLOUT   (0x02) /* TinyAra does not make priority distinctions */
 
#define POLLWRNORM   (0x02)
 
#define POLLWRBAND   (0x02)
 
#define POLLERR   (0x04)
 
#define POLLHUP   (0x08)
 
#define POLLNVAL   (0x10)
 
#define EXTERN   extern
 

Typedefs

typedef unsigned int nfds_t
 
typedef uint8_t pollevent_t
 

Functions

int poll (FAR struct pollfd *fds, nfds_t nfds, int timeout)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 

Detailed Description

Poll APIs.

Definition in file poll.h.