sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
poll.h File Reference

Go to the source code of this file.

Classes

struct  pollfd

Macros

#define POLLIN   0x0001
#define POLLPRI   0x0002
#define POLLOUT   0x0004
#define POLLRDNORM   0x0040
#define POLLWRNORM   POLLOUT
#define POLLRDBAND   0x0080
#define POLLWRBAND   0x0100
#define POLLNORM   POLLRDNORM
#define POLLERR   0x0008
#define POLLHUP   0x0010
#define POLLNVAL   0x0020

Typedefs

typedef struct pollfd pollfd_t

Functions

int poll (struct pollfd *fds, unsigned long nfds, int timeout)

Macro Definition Documentation

◆ POLLERR

#define POLLERR   0x0008

Definition at line 23 of file poll.h.

◆ POLLHUP

#define POLLHUP   0x0010

Definition at line 24 of file poll.h.

◆ POLLIN

#define POLLIN   0x0001

Definition at line 15 of file poll.h.

◆ POLLNORM

#define POLLNORM   POLLRDNORM

Definition at line 22 of file poll.h.

◆ POLLNVAL

#define POLLNVAL   0x0020

Definition at line 25 of file poll.h.

◆ POLLOUT

#define POLLOUT   0x0004

Definition at line 17 of file poll.h.

◆ POLLPRI

#define POLLPRI   0x0002

Definition at line 16 of file poll.h.

◆ POLLRDBAND

#define POLLRDBAND   0x0080

Definition at line 20 of file poll.h.

◆ POLLRDNORM

#define POLLRDNORM   0x0040

Definition at line 18 of file poll.h.

◆ POLLWRBAND

#define POLLWRBAND   0x0100

Definition at line 21 of file poll.h.

◆ POLLWRNORM

#define POLLWRNORM   POLLOUT

Definition at line 19 of file poll.h.

Function Documentation

◆ poll()

int poll ( struct pollfd * fds,
unsigned long nfds,
int timeout )
extern

Definition at line 17 of file poll.c.