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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.h

Issue 11882012: Convert all project to use common.mk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 7 years, 11 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_MOUNTS_KERNEL_WRAP_H_ 5 #ifndef LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_
6 #define LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_ 6 #define LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_
7 7
8 #include <sys/types.h> 8 #include <sys/types.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include "utils/macros.h" 10 #include "utils/macros.h"
(...skipping 27 matching lines...) Expand all
38 int NAME(chdir)(const char* path) NOTHROW; 38 int NAME(chdir)(const char* path) NOTHROW;
39 int NAME(chmod)(const char* path, chmod_mode_t mode) NOTHROW; 39 int NAME(chmod)(const char* path, chmod_mode_t mode) NOTHROW;
40 int NAME(close)(int fd); 40 int NAME(close)(int fd);
41 int NAME(dup)(int oldfd) NOTHROW; 41 int NAME(dup)(int oldfd) NOTHROW;
42 #if defined(WIN32) 42 #if defined(WIN32)
43 int _fstat32(int fd, struct _stat32* buf); 43 int _fstat32(int fd, struct _stat32* buf);
44 int _fstat64(int fd, struct _stat64* buf); 44 int _fstat64(int fd, struct _stat64* buf);
45 int _fstat32i64(int fd, struct _stat32i64* buf); 45 int _fstat32i64(int fd, struct _stat32i64* buf);
46 int _fstat64i32(int fd, struct _stat64i32* buf); 46 int _fstat64i32(int fd, struct _stat64i32* buf);
47 #else 47 #else
48 struct stat;
48 int fstat(int fd, struct stat* buf) NOTHROW; 49 int fstat(int fd, struct stat* buf) NOTHROW;
49 #endif 50 #endif
50 int fsync(int fd); 51 int fsync(int fd);
51 char* NAME(getcwd)(char* buf, getcwd_size_t size) NOTHROW; 52 char* NAME(getcwd)(char* buf, getcwd_size_t size) NOTHROW;
52 char* getwd(char* buf) NOTHROW; 53 char* getwd(char* buf) NOTHROW;
53 int getdents(int fd, void* buf, unsigned int count) NOTHROW; 54 int getdents(int fd, void* buf, unsigned int count) NOTHROW;
54 int NAME(isatty)(int fd) NOTHROW; 55 int NAME(isatty)(int fd) NOTHROW;
55 off_t NAME(lseek)(int fd, off_t offset, int whence) NOTHROW; 56 off_t NAME(lseek)(int fd, off_t offset, int whence) NOTHROW;
56 #if defined(WIN32) 57 #if defined(WIN32)
57 int _mkdir(const char* path); 58 int _mkdir(const char* path);
(...skipping 14 matching lines...) Expand all
72 #else 73 #else
73 int stat(const char* path, struct stat* buf) NOTHROW; 74 int stat(const char* path, struct stat* buf) NOTHROW;
74 #endif 75 #endif
75 int umount(const char* path) NOTHROW; 76 int umount(const char* path) NOTHROW;
76 int NAME(unlink)(const char* path) NOTHROW; 77 int NAME(unlink)(const char* path) NOTHROW;
77 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte); 78 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte);
78 79
79 EXTERN_C_END 80 EXTERN_C_END
80 81
81 #endif // LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_ 82 #endif // LIBRARIES_NACL_MOUNTS_KERNEL_WRAP_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/Makefile ('k') | native_client_sdk/src/libraries/nacl_mounts/library.dsc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698