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

Side by Side Diff: src/trusted/service_runtime/include/sys/unistd.h

Issue 1235633004: DON'T USE THIS -- Providing some missing POSIX File syscalls. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 5 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 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * This file is based on the file "newlib/libc/include/sys/unistd.h" 8 * This file is based on the file "newlib/libc/include/sys/unistd.h"
9 * from newlib. 9 * from newlib.
10 */ 10 */
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 int _EXFUN(dup2, (int __fildes, int __fildes2 )); 56 int _EXFUN(dup2, (int __fildes, int __fildes2 ));
57 #if defined(__CYGWIN__) 57 #if defined(__CYGWIN__)
58 void _EXFUN(endusershell, (void)); 58 void _EXFUN(endusershell, (void));
59 #endif 59 #endif
60 int _EXFUN(execl, (const char *__path, const char *, ... )); 60 int _EXFUN(execl, (const char *__path, const char *, ... ));
61 int _EXFUN(execle, (const char *__path, const char *, ... )); 61 int _EXFUN(execle, (const char *__path, const char *, ... ));
62 int _EXFUN(execlp, (const char *__file, const char *, ... )); 62 int _EXFUN(execlp, (const char *__file, const char *, ... ));
63 int _EXFUN(execv, (const char *__path, char * const __argv[] )); 63 int _EXFUN(execv, (const char *__path, char * const __argv[] ));
64 int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] )); 64 int _EXFUN(execve, (const char *__path, char * const __argv[], char * const __envp[] ));
65 int _EXFUN(execvp, (const char *__file, char * const __argv[] )); 65 int _EXFUN(execvp, (const char *__file, char * const __argv[] ));
66 #if defined(__CYGWIN__) || defined(__rtems__) || defined(__SPU__)
67 int _EXFUN(fchdir, (int __fildes)); 66 int _EXFUN(fchdir, (int __fildes));
68 #endif
69 int _EXFUN(fchmod, (int __fildes, mode_t __mode )); 67 int _EXFUN(fchmod, (int __fildes, mode_t __mode ));
70 #if !defined(__INSIDE_CYGWIN__) 68 #if !defined(__INSIDE_CYGWIN__)
71 int _EXFUN(fchown, (int __fildes, uid_t __owner, gid_t __group )); 69 int _EXFUN(fchown, (int __fildes, uid_t __owner, gid_t __group ));
72 #endif 70 #endif
73 pid_t _EXFUN(fork, (void )); 71 pid_t _EXFUN(fork, (void ));
74 long _EXFUN(fpathconf, (int __fd, int __name )); 72 long _EXFUN(fpathconf, (int __fd, int __name ));
75 int _EXFUN(fsync, (int __fd)); 73 int _EXFUN(fsync, (int __fd));
76 int _EXFUN(fdatasync, (int __fd)); 74 int _EXFUN(fdatasync, (int __fd));
77 char _EXFUN(*getcwd, (char *__buf, size_t __size )); 75 char _EXFUN(*getcwd, (char *__buf, size_t __size ));
78 #if defined(__CYGWIN__) 76 #if defined(__CYGWIN__)
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 #endif /* defined(NACL_IN_TOOLCHAIN_HEADERS) */ 371 #endif /* defined(NACL_IN_TOOLCHAIN_HEADERS) */
374 372
375 #ifndef __CYGWIN__ 373 #ifndef __CYGWIN__
376 # define MAXPATHLEN 1024 374 # define MAXPATHLEN 1024
377 #endif 375 #endif
378 376
379 #ifdef __cplusplus 377 #ifdef __cplusplus
380 } 378 }
381 #endif 379 #endif
382 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_UNISTD_H_ */ 380 #endif /* NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_UNISTD_H_ */
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/include/sys/time.h ('k') | src/trusted/service_runtime/nacl_syscall_list.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698