| 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_INTERCEPT_H_ | 5 #ifndef LIBRARIES_NACL_IO_KERNEL_INTERCEPT_H_ | 
| 6 #define LIBRARIES_NACL_IO_KERNEL_INTERCEPT_H_ | 6 #define LIBRARIES_NACL_IO_KERNEL_INTERCEPT_H_ | 
| 7 | 7 | 
| 8 #include <ppapi/c/ppb.h> | 8 #include <ppapi/c/ppb.h> | 
| 9 #include <ppapi/c/pp_instance.h> | 9 #include <ppapi/c/pp_instance.h> | 
| 10 | 10 | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
| 37 int ki_dup(int oldfd); | 37 int ki_dup(int oldfd); | 
| 38 int ki_dup2(int oldfd, int newfd); | 38 int ki_dup2(int oldfd, int newfd); | 
| 39 int ki_chmod(const char* path, mode_t mode); | 39 int ki_chmod(const char* path, mode_t mode); | 
| 40 int ki_stat(const char* path, struct stat* buf); | 40 int ki_stat(const char* path, struct stat* buf); | 
| 41 int ki_mkdir(const char* path, mode_t mode); | 41 int ki_mkdir(const char* path, mode_t mode); | 
| 42 int ki_rmdir(const char* path); | 42 int ki_rmdir(const char* path); | 
| 43 int ki_mount(const char* source, const char* target, const char* filesystemtype, | 43 int ki_mount(const char* source, const char* target, const char* filesystemtype, | 
| 44              unsigned long mountflags, const void *data); | 44              unsigned long mountflags, const void *data); | 
| 45 int ki_umount(const char* path); | 45 int ki_umount(const char* path); | 
| 46 int ki_open(const char* path, int oflag); | 46 int ki_open(const char* path, int oflag); | 
|  | 47 int ki_pipe(int pipefds[2]); | 
| 47 ssize_t ki_read(int fd, void* buf, size_t nbyte); | 48 ssize_t ki_read(int fd, void* buf, size_t nbyte); | 
| 48 ssize_t ki_write(int fd, const void* buf, size_t nbyte); | 49 ssize_t ki_write(int fd, const void* buf, size_t nbyte); | 
| 49 int ki_fstat(int fd, struct stat *buf); | 50 int ki_fstat(int fd, struct stat *buf); | 
| 50 int ki_getdents(int fd, void* buf, unsigned int count); | 51 int ki_getdents(int fd, void* buf, unsigned int count); | 
| 51 int ki_ftruncate(int fd, off_t length); | 52 int ki_ftruncate(int fd, off_t length); | 
| 52 int ki_fsync(int fd); | 53 int ki_fsync(int fd); | 
| 53 int ki_isatty(int fd); | 54 int ki_isatty(int fd); | 
| 54 int ki_close(int fd); | 55 int ki_close(int fd); | 
| 55 off_t ki_lseek(int fd, off_t offset, int whence); | 56 off_t ki_lseek(int fd, off_t offset, int whence); | 
| 56 int ki_remove(const char* path); | 57 int ki_remove(const char* path); | 
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 101 int ki_setsockopt(int fd, int lvl, int optname, const void* optval, | 102 int ki_setsockopt(int fd, int lvl, int optname, const void* optval, | 
| 102                   socklen_t len); | 103                   socklen_t len); | 
| 103 int ki_shutdown(int fd, int how); | 104 int ki_shutdown(int fd, int how); | 
| 104 int ki_socket(int domain, int type, int protocol); | 105 int ki_socket(int domain, int type, int protocol); | 
| 105 int ki_socketpair(int domain, int type, int protocl, int* sv); | 106 int ki_socketpair(int domain, int type, int protocl, int* sv); | 
| 106 #endif  // PROVIDES_SOCKET_API | 107 #endif  // PROVIDES_SOCKET_API | 
| 107 | 108 | 
| 108 EXTERN_C_END | 109 EXTERN_C_END | 
| 109 | 110 | 
| 110 #endif  // LIBRARIES_NACL_IO_KERNEL_INTERCEPT_H_ | 111 #endif  // LIBRARIES_NACL_IO_KERNEL_INTERCEPT_H_ | 
| OLD | NEW | 
|---|