| 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 <sys/select.h> | 6 #include <sys/select.h> |
| 7 #include <poll.h> | 7 #include <poll.h> |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <fcntl.h> | 9 #include <fcntl.h> |
| 10 #include <time.h> | 10 #include <time.h> |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 extern int (*__nacl_irt_dup2) (int fd, int newfd); | 102 extern int (*__nacl_irt_dup2) (int fd, int newfd); |
| 103 extern int (*__nacl_irt_fstat) (int fd, struct nacl_abi_stat *); | 103 extern int (*__nacl_irt_fstat) (int fd, struct nacl_abi_stat *); |
| 104 extern int (*__nacl_irt_stat) (const char *pathname, struct nacl_abi_stat *); | 104 extern int (*__nacl_irt_stat) (const char *pathname, struct nacl_abi_stat *); |
| 105 extern int (*__nacl_irt_getdents) (int fd, struct dirent *, size_t count, | 105 extern int (*__nacl_irt_getdents) (int fd, struct dirent *, size_t count, |
| 106 size_t *nread); | 106 size_t *nread); |
| 107 | 107 |
| 108 extern int (*__nacl_irt_sysbrk)(void **newbrk); | 108 extern int (*__nacl_irt_sysbrk)(void **newbrk); |
| 109 extern int (*__nacl_irt_mmap)(void **addr, size_t len, int prot, int flags, | 109 extern int (*__nacl_irt_mmap)(void **addr, size_t len, int prot, int flags, |
| 110 int fd, nacl_abi_off_t off); | 110 int fd, nacl_abi_off_t off); |
| 111 extern int (*__nacl_irt_munmap)(void *addr, size_t len); | 111 extern int (*__nacl_irt_munmap)(void *addr, size_t len); |
| 112 extern int (*__nacl_irt_mprotect)(void *addr, size_t len, int prot); |
| 112 | 113 |
| 113 extern int (*__nacl_irt_dyncode_create) (void *dest, const void *src, | 114 extern int (*__nacl_irt_dyncode_create) (void *dest, const void *src, |
| 114 size_t size); | 115 size_t size); |
| 115 extern int (*__nacl_irt_dyncode_modify) (void *dest, const void *src, | 116 extern int (*__nacl_irt_dyncode_modify) (void *dest, const void *src, |
| 116 size_t size); | 117 size_t size); |
| 117 extern int (*__nacl_irt_dyncode_delete) (void *dest, size_t size); | 118 extern int (*__nacl_irt_dyncode_delete) (void *dest, size_t size); |
| 118 | 119 |
| 119 extern int (*__nacl_irt_thread_create) (void *start_user_address, void *stack, | 120 extern int (*__nacl_irt_thread_create) (void *start_user_address, void *stack, |
| 120 void *thread_ptr); | 121 void *thread_ptr); |
| 121 extern void (*__nacl_irt_thread_exit) (int32_t *stack_flag); | 122 extern void (*__nacl_irt_thread_exit) (int32_t *stack_flag); |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 struct robust_list_head | 200 struct robust_list_head |
| 200 { | 201 { |
| 201 void *list; | 202 void *list; |
| 202 long int futex_offset; | 203 long int futex_offset; |
| 203 void *list_op_pending; | 204 void *list_op_pending; |
| 204 }; | 205 }; |
| 205 #endif | 206 #endif |
| 206 | 207 |
| 207 #endif | 208 #endif |
| 208 #endif | 209 #endif |
| OLD | NEW |