Tizen RT Libs&Environment  v1.1 D4

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

◆ EXTERN

#define EXTERN   extern

Definition at line 155 of file poll.h.

◆ POLLERR

#define POLLERR   (0x04)

Definition at line 114 of file poll.h.

◆ POLLHUP

#define POLLHUP   (0x08)

Definition at line 115 of file poll.h.

◆ POLLIN

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

Definition at line 105 of file poll.h.

◆ POLLNVAL

#define POLLNVAL   (0x10)

Definition at line 116 of file poll.h.

◆ POLLOUT

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

Definition at line 110 of file poll.h.

◆ POLLPRI

#define POLLPRI   (0x01)

Definition at line 108 of file poll.h.

◆ POLLRDBAND

#define POLLRDBAND   (0x01)

Definition at line 107 of file poll.h.

◆ POLLRDNORM

#define POLLRDNORM   (0x01)

Definition at line 106 of file poll.h.

◆ POLLWRBAND

#define POLLWRBAND   (0x02)

Definition at line 112 of file poll.h.

◆ POLLWRNORM

#define POLLWRNORM   (0x02)

Definition at line 111 of file poll.h.

Typedef Documentation

◆ nfds_t

typedef unsigned int nfds_t

Definition at line 124 of file poll.h.

◆ pollevent_t

typedef uint8_t pollevent_t

Definition at line 131 of file poll.h.

Function Documentation

◆ poll()

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
Tizen RT v1.0