Rapicorn - Experimental UI Toolkit - Source Code  13.07.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Types | Public Attributes
Rapicorn::PollFD Struct Reference

Mirrors struct pollfd for poll(3posix) More...

#include <loop.hh>

List of all members.

Public Types

enum  {
  IN, PRI, OUT, RDNORM,
  RDBAND, WRNORM, WRBAND, ERR,
  HUP, NVAL
}
 Event types that can be polled for, set in .events, updated in .revents. More...

Public Attributes

int fd
uint16 events
uint16 revents

Detailed Description

Mirrors struct pollfd for poll(3posix)


Member Enumeration Documentation

anonymous enum

Event types that can be polled for, set in .events, updated in .revents.

Enumerator:
IN 

RDNORM || RDBAND.

PRI 

urgent data available

OUT 

writing data will not block

RDNORM 

reading data will not block

RDBAND 

reading priority data will not block

WRNORM 

writing data will not block

WRBAND 

writing priority data will not block

ERR 

error condition

HUP 

file descriptor closed

NVAL 

invalid PollFD


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines