wut  v1.7.0
Wii U Toolchain
Data Structures | Macros | Typedefs | Functions
poll.h File Reference

Go to the source code of this file.

Data Structures

struct  pollfd
 

Macros

#define POLLIN   0x01
 
#define POLLPRI   0x02
 
#define POLLOUT   0x04
 
#define POLLERR   0x08
 
#define POLLHUP   0x10
 
#define POLLNVAL   0x20
 

Typedefs

typedef unsigned long nfds_t
 

Functions

int poll (struct pollfd *fds, nfds_t nfds, int timeout)
 

Data Structure Documentation

◆ pollfd

struct pollfd

Definition at line 12 of file poll.h.

Data Fields
int fd
int events
int revents

Macro Definition Documentation

◆ POLLIN

#define POLLIN   0x01

Definition at line 3 of file poll.h.

◆ POLLPRI

#define POLLPRI   0x02

Definition at line 4 of file poll.h.

◆ POLLOUT

#define POLLOUT   0x04

Definition at line 5 of file poll.h.

◆ POLLERR

#define POLLERR   0x08

Definition at line 6 of file poll.h.

◆ POLLHUP

#define POLLHUP   0x10

Definition at line 7 of file poll.h.

◆ POLLNVAL

#define POLLNVAL   0x20

Definition at line 8 of file poll.h.

Typedef Documentation

◆ nfds_t

typedef unsigned long nfds_t

Definition at line 10 of file poll.h.

Function Documentation

◆ poll()

int poll ( struct pollfd fds,
nfds_t  nfds,
int  timeout 
)