Zephyr API Documentation
3.6.99
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
9
#include <
zephyr/net/socket_types.h
>
10
#include <
zephyr/net/socket_select.h
>
11
12
#ifdef __cplusplus
13
extern
"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
23
struct
timeval
;
24
25
int
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_ */
fd_set
#define fd_set
Definition:
select.h:16
select
int select(int nfds, zsock_fd_set *readfds, zsock_fd_set *writefds, zsock_fd_set *exceptfds, struct timeval *timeout)
socket_select.h
BSD select support functions.
socket_types.h
socket types definitionis
timeval
Definition:
_timeval.h:22
zephyr
posix
sys
select.h
Generated on Thu Jul 4 2024 12:22:48 for Zephyr API Documentation by
1.9.6