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
poll.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_POLL_H_
7
#define ZEPHYR_INCLUDE_POSIX_POLL_H_
8
9
#include <
zephyr/net/socket.h
>
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
15
#define pollfd zsock_pollfd
16
17
#define POLLIN ZSOCK_POLLIN
18
#define POLLOUT ZSOCK_POLLOUT
19
#define POLLERR ZSOCK_POLLERR
20
#define POLLHUP ZSOCK_POLLHUP
21
#define POLLNVAL ZSOCK_POLLNVAL
22
23
int
poll
(
struct
pollfd
*fds,
int
nfds,
int
timeout);
24
25
#ifdef __cplusplus
26
}
27
#endif
28
29
#endif
/* ZEPHYR_INCLUDE_POSIX_POLL_H_ */
socket.h
BSD Sockets compatible API definitions.
pollfd
#define pollfd
Definition:
poll.h:15
poll
int poll(struct zsock_pollfd *fds, int nfds, int timeout)
zephyr
posix
poll.h
Generated on Fri Jul 26 2024 14:01:58 for Zephyr API Documentation by
1.9.6