PS2SDK
PS2 Homebrew Libraries
poll.h
1
#ifndef __POLL_H__
2
#define __POLL_H__
3
4
typedef
struct
pollfd
5
{
6
int
fd;
7
short
events;
8
short
revents;
9
}
pollfd_t
;
10
11
#define POLLIN 0x0001
12
#define POLLPRI 0x0002
13
#define POLLOUT 0x0004
14
#define POLLRDNORM 0x0040
15
#define POLLWRNORM POLLOUT
16
#define POLLRDBAND 0x0080
17
#define POLLWRBAND 0x0100
18
#define POLLNORM POLLRDNORM
19
#define POLLERR 0x0008
20
#define POLLHUP 0x0010
21
#define POLLNVAL 0x0020
22
23
extern
int
poll(
struct
pollfd
*fds,
unsigned
long
nfds,
int
timeout);
24
25
#endif
pollfd
Definition:
poll.h:4
iop
network
smbman
src
poll.h
Generated on Fri Sep 4 2026 08:16:23 for PS2SDK by
1.8.17