TizenRT Libs&Environment  v2.0 M2

Provides APIs for Poll. More...

Collaboration diagram for POLL:

Files

file  poll.h
 Poll APIs.
 

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 API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 

Detailed Description

Provides APIs for Poll.

Macro Definition Documentation

#define EXTERN   extern

Definition at line 155 of file poll.h.

#define POLLERR   (0x04)

Definition at line 114 of file poll.h.

#define POLLHUP   (0x08)

Definition at line 115 of file poll.h.

#define POLLIN   (0x01) /* TinyAra does not make priority distinctions */

Definition at line 105 of file poll.h.

#define POLLNVAL   (0x10)

Definition at line 116 of file poll.h.

#define POLLOUT   (0x02) /* TinyAra does not make priority distinctions */

Definition at line 110 of file poll.h.

#define POLLPRI   (0x01)

Definition at line 108 of file poll.h.

#define POLLRDBAND   (0x01)

Definition at line 107 of file poll.h.

#define POLLRDNORM   (0x01)

Definition at line 106 of file poll.h.

#define POLLWRBAND   (0x02)

Definition at line 112 of file poll.h.

#define POLLWRNORM   (0x02)

Definition at line 111 of file poll.h.

Typedef Documentation

typedef unsigned int nfds_t

Definition at line 124 of file poll.h.

typedef uint8_t pollevent_t

Definition at line 131 of file poll.h.

Function Documentation

int poll ( FAR struct pollfd fds,
nfds_t  nfds,
int  timeout 
)

POSIX API (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/)

SYSTEM CALL API

Since
TizenRT v1.0