Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
Ase::PollFD Struct Reference

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

#include "loop.hh"

Public Types

enum  : uint {
  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)

Definition at line 10 of file loop.hh.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint

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

Definition at line 16 of file loop.hh.

Member Data Documentation

◆ events

uint16 Ase::PollFD::events

Definition at line 13 of file loop.hh.

◆ fd

int Ase::PollFD::fd

Definition at line 12 of file loop.hh.

◆ revents

uint16 Ase::PollFD::revents

Definition at line 14 of file loop.hh.


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