Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
socket_select.h File Reference
#include <toolchain.h>
#include <net/socket_types.h>
#include <syscalls/socket_select.h>

Go to the source code of this file.

Data Structures

struct  zsock_fd_set
 

Macros

#define ZSOCK_FD_SETSIZE   (sizeof(((zsock_fd_set *)0)->bitset) * 8)
 

Typedefs

typedef struct zsock_fd_set zsock_fd_set
 

Functions

int zsock_select (int nfds, zsock_fd_set *readfds, zsock_fd_set *writefds, zsock_fd_set *exceptfds, struct zsock_timeval *timeout)
 Legacy function to poll multiple sockets for events. More...
 
void ZSOCK_FD_ZERO (zsock_fd_set *set)
 Initialize (clear) fd_set. More...
 
int ZSOCK_FD_ISSET (int fd, zsock_fd_set *set)
 Check whether socket is a member of fd_set. More...
 
void ZSOCK_FD_CLR (int fd, zsock_fd_set *set)
 Remove socket from fd_set. More...
 
void ZSOCK_FD_SET (int fd, zsock_fd_set *set)
 Add socket to fd_set. More...