Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
select.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_POSIX_SYS_SELECT_H_
7#define ZEPHYR_INCLUDE_POSIX_SYS_SELECT_H_
8
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#define fd_set zsock_fd_set
17#define FD_SETSIZE ZSOCK_FD_SETSIZE
18#define FD_ZERO ZSOCK_FD_ZERO
19#define FD_SET ZSOCK_FD_SET
20#define FD_CLR ZSOCK_FD_CLR
21#define FD_ISSET ZSOCK_FD_ISSET
22
23struct timeval;
24
25int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif /* ZEPHYR_INCLUDE_POSIX_SYS_SELECT_H_ */
#define fd_set
Definition: select.h:16
int select(int nfds, zsock_fd_set *readfds, zsock_fd_set *writefds, zsock_fd_set *exceptfds, struct timeval *timeout)
BSD select support functions.
socket types definitionis
Definition: _timeval.h:22