Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
zsock_pollfd Struct Reference

Definition of the monitored socket/file descriptor. More...

#include <socket_poll.h>

Data Fields

int fd
 Socket descriptor.
 
short events
 Requested events.
 
short revents
 Returned events.
 

Detailed Description

Definition of the monitored socket/file descriptor.

An array of these descriptors is passed as an argument to poll().

Field Documentation

◆ events

short zsock_pollfd::events

Requested events.

◆ fd

int zsock_pollfd::fd

Socket descriptor.

◆ revents

short zsock_pollfd::revents

Returned events.


The documentation for this struct was generated from the following file: