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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/kernel_wrap_real.h

Issue 474433005: [NaCl SDK] Remove syscalls wrappers for chmod and unlink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LIBRARIES_NACL_IO_KERNEL_WRAP_REAL_H_ 5 #ifndef LIBRARIES_NACL_IO_KERNEL_WRAP_REAL_H_
6 #define LIBRARIES_NACL_IO_KERNEL_WRAP_REAL_H_ 6 #define LIBRARIES_NACL_IO_KERNEL_WRAP_REAL_H_
7 7
8 #include "nacl_io/osstat.h" 8 #include "nacl_io/osstat.h"
9 #include "nacl_io/ostypes.h" 9 #include "nacl_io/ostypes.h"
10 #include "sdk_util/macros.h" 10 #include "sdk_util/macros.h"
(...skipping 13 matching lines...) Expand all
24 int prot, 24 int prot,
25 int flags, 25 int flags,
26 int fd, 26 int fd,
27 int64_t offset); 27 int64_t offset);
28 int _real_munmap(void* addr, size_t length); 28 int _real_munmap(void* addr, size_t length);
29 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd); 29 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd);
30 int _real_open_resource(const char* file, int* fd); 30 int _real_open_resource(const char* file, int* fd);
31 int _real_read(int fd, void* buf, size_t count, size_t* nread); 31 int _real_read(int fd, void* buf, size_t count, size_t* nread);
32 int _real_rmdir(const char* pathname); 32 int _real_rmdir(const char* pathname);
33 int _real_write(int fd, const void* buf, size_t count, size_t* nwrote); 33 int _real_write(int fd, const void* buf, size_t count, size_t* nwrote);
34 int _real_getcwd(char* pathname, size_t len);
34 35
35 EXTERN_C_END 36 EXTERN_C_END
36 37
37 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_REAL_H_ 38 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_REAL_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_wrap_newlib.cc ('k') | native_client_sdk/src/libraries/nacl_io/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698