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 <stddef.h> | 5 #include <stddef.h> |
6 #include <fcntl.h> | 6 #include <fcntl.h> |
7 #include <time.h> | 7 #include <time.h> |
8 | 8 |
9 #include <nacl_stat.h> | 9 #include <nacl_stat.h> |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 extern int (*__nacl_irt_cond_wait) (int cond_handle, int mutex_handle); | 68 extern int (*__nacl_irt_cond_wait) (int cond_handle, int mutex_handle); |
69 extern int (*__nacl_irt_cond_timed_wait_abs) (int cond_handle, int mutex_handle, | 69 extern int (*__nacl_irt_cond_timed_wait_abs) (int cond_handle, int mutex_handle, |
70 const struct timespec *abstime); | 70 const struct timespec *abstime); |
71 | 71 |
72 extern int (*__nacl_irt_tls_init) (void *tdb); | 72 extern int (*__nacl_irt_tls_init) (void *tdb); |
73 extern void *(*__nacl_irt_tls_get) (void); | 73 extern void *(*__nacl_irt_tls_get) (void); |
74 | 74 |
75 extern int (*__nacl_irt_open_resource) (const char* file, int *fd); | 75 extern int (*__nacl_irt_open_resource) (const char* file, int *fd); |
76 | 76 |
77 #endif | 77 #endif |
78 | |
79 #if defined(_LIBC) || defined (__need_emulated_syscalls) | |
80 #ifndef _IRT_EMULATED_SYSCALLS_H | |
81 #define _IRT_EMULATED_SYSCALLS_H 1 | |
82 | |
83 #include <linux/getcpu.h> | |
84 #include <linux/posix_types.h> | |
pasko-google - do not use
2011/09/02 16:25:24
minor: plz, group linear part of includes together
khim
2011/09/02 16:36:09
Done.
| |
85 #ifndef _LINUX_TYPES_H | |
86 #define ustat __kernel_ustat | |
87 #include <linux/sysctl.h> | |
88 #undef ustat | |
89 #ifdef _LIBC | |
90 #include <misc/sys/ustat.h> | |
91 #else | |
92 #include <sys/ustat.h> | |
93 #endif | |
94 #endif | |
95 #ifndef _LIBC | |
96 #include <mqueue.h> | |
97 #endif | |
98 #include <sys/poll.h> | |
99 #include <sched.h> | |
100 #include <signal.h> | |
101 #include <streams/stropts.h> | |
102 #include <sys/epoll.h> | |
103 #include <sys/ptrace.h> | |
104 #include <sys/times.h> | |
105 #include <sys/types.h> | |
106 #include <sys/wait.h> | |
107 #include <time.h> | |
108 #include <utime.h> | |
109 | |
110 #ifdef _LIBC | |
111 struct robust_list_head; | |
112 #else | |
113 struct robust_list_head | |
114 { | |
115 void *list; | |
116 long int futex_offset; | |
117 void *list_op_pending; | |
118 }; | |
119 #endif | |
120 | |
121 #endif | |
122 #endif | |
OLD | NEW |