| OLD | NEW |
| 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_H_ | 5 #ifndef LIBRARIES_NACL_IO_KERNEL_WRAP_H_ |
| 6 #define LIBRARIES_NACL_IO_KERNEL_WRAP_H_ | 6 #define LIBRARIES_NACL_IO_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 "nacl_io/ostypes.h" | 10 #include "nacl_io/ostypes.h" |
| 11 #include "nacl_io/osutime.h" | 11 #include "nacl_io/osutime.h" |
| 12 #include "sdk_util/macros.h" | 12 #include "sdk_util/macros.h" |
| 13 | 13 |
| 14 #if defined(__GLIBC__) | 14 #if defined(__GLIBC__) |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 #endif | 87 #endif |
| 88 int symlink(const char* oldpath, const char* newpath) NOTHROW; | 88 int symlink(const char* oldpath, const char* newpath) NOTHROW; |
| 89 int umount(const char* path) NOTHROW; | 89 int umount(const char* path) NOTHROW; |
| 90 int NAME(unlink)(const char* path) NOTHROW; | 90 int NAME(unlink)(const char* path) NOTHROW; |
| 91 int utime(const char* filename, const struct utimbuf* times); | 91 int utime(const char* filename, const struct utimbuf* times); |
| 92 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte); | 92 read_ssize_t NAME(write)(int fd, const void* buf, size_t nbyte); |
| 93 | 93 |
| 94 EXTERN_C_END | 94 EXTERN_C_END |
| 95 | 95 |
| 96 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_H_ | 96 #endif // LIBRARIES_NACL_IO_KERNEL_WRAP_H_ |
| OLD | NEW |