6#ifndef ZEPHYR_INCLUDE_POSIX_POLL_H_
7#define ZEPHYR_INCLUDE_POSIX_POLL_H_
15#ifndef CONFIG_NET_SOCKETS_POSIX_NAMES
17#define pollfd zsock_pollfd
19#define POLLIN ZSOCK_POLLIN
20#define POLLOUT ZSOCK_POLLOUT
21#define POLLERR ZSOCK_POLLERR
22#define POLLHUP ZSOCK_POLLHUP
23#define POLLNVAL ZSOCK_POLLNVAL
25static inline int poll(
struct pollfd *fds,
int nfds,
int timeout)
int zsock_poll(struct zsock_pollfd *fds, int nfds, int timeout)
Efficiently poll multiple sockets for events.
static int poll(struct zsock_pollfd *fds, int nfds, int timeout)
POSIX wrapper for zsock_poll.
Definition: socket.h:866
#define pollfd
Definition: socket.h:751
BSD Sockets compatible API definitions.