]>
git.proxmox.com Git - wasi-libc.git/blob - libc-top-half/musl/include/poll.h
10 #include <bits/poll.h>
12 #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
18 #define POLLNVAL 0x020
19 #define POLLRDNORM 0x040
20 #define POLLRDBAND 0x080
22 #define POLLWRNORM 0x100
23 #define POLLWRBAND 0x200
27 #define POLLRDHUP 0x2000
30 #include <__header_poll.h>
33 #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
34 typedef unsigned long nfds_t
;
36 #include <__typedef_nfds_t.h>
39 #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
46 #include <__struct_pollfd.h>
49 int poll (struct pollfd
*, nfds_t
, int);
53 #define __NEED_struct_timespec
54 #define __NEED_sigset_t
55 #include <bits/alltypes.h>
56 int ppoll(struct pollfd
*, nfds_t
, const struct timespec
*, const sigset_t
*);
61 __REDIR(ppoll
, __ppoll_time64
);