Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
3.7.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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 Fri Jul 26 2024 14:01:58 for Zephyr API Documentation by
1.9.6