nn::socket::PollFd Structure

Syntax

struct PollFd
{
   int         fd;
   int     events;
   int     revents;
};

Description

A structure used with the Poll function.

Member Variables

fd The socket number.
Events The events to get.
revents Returns the events that were actually obtained.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL