OLD | NEW |
1 #ifndef _IRT_SYSCALLS_H | 1 #ifndef _IRT_SYSCALLS_H |
2 #define _IRT_SYSCALLS_H | 2 #define _IRT_SYSCALLS_H |
3 | 3 |
4 #include <sys/types.h> | 4 #include <sys/types.h> |
5 #include <sys/epoll.h> | 5 #include <sys/epoll.h> |
6 #include <poll.h> | 6 #include <poll.h> |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <fcntl.h> | 8 #include <fcntl.h> |
9 #include <time.h> | 9 #include <time.h> |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 struct timespec *rem); | 29 struct timespec *rem); |
30 extern int (*__nacl_irt_sched_yield) (void); | 30 extern int (*__nacl_irt_sched_yield) (void); |
31 extern int (*__nacl_irt_sysconf) (int name, int *value); | 31 extern int (*__nacl_irt_sysconf) (int name, int *value); |
32 | 32 |
33 extern int (*__nacl_irt_mkdir) (const char* pathname, mode_t mode); | 33 extern int (*__nacl_irt_mkdir) (const char* pathname, mode_t mode); |
34 extern int (*__nacl_irt_rmdir) (const char* pathname); | 34 extern int (*__nacl_irt_rmdir) (const char* pathname); |
35 extern int (*__nacl_irt_chdir) (const char* pathname); | 35 extern int (*__nacl_irt_chdir) (const char* pathname); |
36 extern int (*__nacl_irt_getcwd) (char* buf, size_t size, int* ret); | 36 extern int (*__nacl_irt_getcwd) (char* buf, size_t size, int* ret); |
37 | 37 |
38 extern int (*__nacl_irt_epoll_create) (int flags); // size | 38 extern int (*__nacl_irt_epoll_create) (int flags); // size |
39 extern int (*__nacl_irt_epoll_create1 )(int flags); | |
40 extern int (*__nacl_irt_epoll_ctl) (int epfd, int op, int fd, | 39 extern int (*__nacl_irt_epoll_ctl) (int epfd, int op, int fd, |
41 struct epoll_event *event); | 40 struct epoll_event *event); |
42 extern int (*__nacl_irt_epoll_pwait) (int epfd, struct epoll_event *events, | 41 extern int (*__nacl_irt_epoll_pwait) (int epfd, struct epoll_event *events, |
43 int maxevents, int timeout, | 42 int maxevents, int timeout, |
44 const sigset_t *sigmask, size_t sigset_size); | 43 const sigset_t *sigmask, size_t sigset_size); |
45 extern int (*__nacl_irt_epoll_wait) (int epfd, struct epoll_event *events, | 44 extern int (*__nacl_irt_epoll_wait) (int epfd, struct epoll_event *events, |
46 int maxevents, int timeout); | 45 int maxevents, int timeout); |
47 extern int (*__nacl_irt_poll) (struct pollfd *fds, nfds_t nfds, | 46 extern int (*__nacl_irt_poll) (struct pollfd *fds, nfds_t nfds, |
48 int timeout); | 47 int timeout); |
49 extern int (*__nacl_irt_ppoll) (struct pollfd *fds, nfds_t nfds, | 48 extern int (*__nacl_irt_ppoll) (struct pollfd *fds, nfds_t nfds, |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 struct robust_list_head | 198 struct robust_list_head |
200 { | 199 { |
201 void *list; | 200 void *list; |
202 long int futex_offset; | 201 long int futex_offset; |
203 void *list_op_pending; | 202 void *list_op_pending; |
204 }; | 203 }; |
205 #endif | 204 #endif |
206 | 205 |
207 #endif | 206 #endif |
208 #endif | 207 #endif |
OLD | NEW |