Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: sysdeps/nacl/irt_syscalls.h

Issue 10095010: removed epoll_create1 (EPOLL_CLOEXEC is not applicable to NaCl, as there is no possibility to fork)… (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « elf/Versions ('k') | sysdeps/nacl/irt_syscalls.c » ('j') | sysdeps/nacl/syscalls.list » ('J')

Powered by Google App Engine
This is Rietveld 408576698