wut
v1.7.0
Wii U Toolchain
include
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
10
typedef
unsigned
long
nfds_t
;
11
12
struct
pollfd
13
{
14
int
fd
;
15
int
events
;
16
int
revents
;
17
};
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
int
24
poll
(
struct
pollfd
*fds,
25
nfds_t
nfds,
26
int
timeout);
27
28
#ifdef __cplusplus
29
}
30
#endif
31
nfds_t
unsigned long nfds_t
Definition:
poll.h:10
pollfd::fd
int fd
Definition:
poll.h:14
pollfd::revents
int revents
Definition:
poll.h:16
pollfd::events
int events
Definition:
poll.h:15
poll
int poll(struct pollfd *fds, nfds_t nfds, int timeout)
pollfd
Definition:
poll.h:13
Generated by
1.9.1