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

synchronous I/O multiplexing APIs More...

#include <tinyara/config.h>
#include <stdint.h>
#include <time.h>
Include dependency graph for select.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fd_set
 

Macros

#define __SELECT_NDESCRIPTORS   (CONFIG_NFILE_DESCRIPTORS + CONFIG_NSOCKET_DESCRIPTORS)
 
#define __SELECT_NUINT32   1
 
#define FD_CLR(fd, set)   ((set)->fd_bits[(fd)/8]) &= ~(1 << ((fd) & 7))
 
#define FD_SET(fd, set)   ((set)->fd_bits[(fd)/8]) |= (1 << ((fd) & 7))
 
#define FD_ISSET(fd, set)   ((set)->fd_bits[(fd)/8]) & (1 << ((fd) & 7))
 
#define FD_ZERO(set)   memset(set, 0, sizeof(fd_set))
 
#define EXTERN   extern
 

Typedefs

typedef struct fd_set fd_set
 

Functions

EXTERN int select (int nfds, FAR fd_set *readfds, FAR fd_set *writefds, FAR fd_set *exceptfds, FAR struct timeval *timeout)
 POSIX APIs (refer to : http://pubs.opengroup.org/onlinepubs/9699919799/) More...
 

Detailed Description

synchronous I/O multiplexing APIs

Definition in file select.h.