sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
poll.h
Go to the documentation of this file.
1
5#ifndef __POLL_H__
6#define __POLL_H__
7
8typedef struct pollfd
9{
10 int fd;
11 short events;
12 short revents;
13} pollfd_t;
14
15#define POLLIN 0x0001
16#define POLLPRI 0x0002
17#define POLLOUT 0x0004
18#define POLLRDNORM 0x0040
19#define POLLWRNORM POLLOUT
20#define POLLRDBAND 0x0080
21#define POLLWRBAND 0x0100
22#define POLLNORM POLLRDNORM
23#define POLLERR 0x0008
24#define POLLHUP 0x0010
25#define POLLNVAL 0x0020
26
27extern int poll(struct pollfd *fds, unsigned long nfds, int timeout);
28
29#endif
Definition poll.h:9