wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
poll.h
Go to the documentation of this file.
1#pragma once
2
3#define POLLIN 0x01
4#define POLLPRI 0x02
5#define POLLOUT 0x04
6#define POLLERR 0x08
7#define POLLHUP 0x10
8#define POLLNVAL 0x20
9
10typedef unsigned long nfds_t;
11
12struct pollfd
13{
14 int fd;
15 int events;
17};
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23int
24poll(struct pollfd *fds,
25 nfds_t nfds,
26 int timeout);
27
28#ifdef __cplusplus
29}
30#endif
31
unsigned long nfds_t
Definition poll.h:10
int fd
Definition poll.h:14
int revents
Definition poll.h:16
int events
Definition poll.h:15
int poll(struct pollfd *fds, nfds_t nfds, int timeout)
Definition poll.h:13