Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
socket_poll.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_NET_SOCKET_POLL_H_
8#define ZEPHYR_INCLUDE_NET_SOCKET_POLL_H_
9
10/* Setting for pollfd to avoid circular inclusion */
11
19#ifdef __cplusplus
20extern "C" {
21#endif
22
29 int fd;
30 short events;
31 short revents;
32};
33
34#ifdef __cplusplus
35}
36#endif
37
42#endif /* ZEPHYR_INCLUDE_NET_SOCKET_POLL_H_ */
Definition of the monitored socket/file descriptor.
Definition socket_poll.h:28
short events
Requested events.
Definition socket_poll.h:30
int fd
Socket descriptor.
Definition socket_poll.h:29
short revents
Returned events.
Definition socket_poll.h:31