OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2013 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 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_FDIO_H_ | 7 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_FDIO_H_ |
8 #define NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_FDIO_H_ 1 | 8 #define NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_FDIO_H_ 1 |
9 | 9 |
10 #include "native_client/src/include/nacl_base.h" | 10 #include "native_client/src/include/nacl_base.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 int32_t NaClSysGetdents(struct NaClAppThread *natp, | 49 int32_t NaClSysGetdents(struct NaClAppThread *natp, |
50 int d, | 50 int d, |
51 void *dirp, | 51 void *dirp, |
52 size_t count); | 52 size_t count); |
53 | 53 |
54 int32_t NaClSysIoctl(struct NaClAppThread *natp, | 54 int32_t NaClSysIoctl(struct NaClAppThread *natp, |
55 int d, | 55 int d, |
56 int request, | 56 int request, |
57 void *arg); | 57 void *arg); |
58 | 58 |
| 59 int32_t NaClSysFcntl(struct NaClAppThread *natp, |
| 60 int d, |
| 61 int cmd, |
| 62 long arg); |
| 63 |
| 64 int32_t NaClSysFchdir(struct NaClAppThread *natp, |
| 65 int d); |
| 66 |
| 67 int32_t NaClSysFchmod(struct NaClAppThread *natp, |
| 68 int d, |
| 69 int mode); |
| 70 |
| 71 int32_t NaClSysFsync(struct NaClAppThread *natp, |
| 72 int d); |
| 73 |
| 74 int32_t NaClSysFdatasync(struct NaClAppThread *natp, |
| 75 int d); |
| 76 |
| 77 int32_t NaClSysFtruncate(struct NaClAppThread *natp, |
| 78 int d, |
| 79 nacl_abi_off_t length); |
| 80 |
59 EXTERN_C_END | 81 EXTERN_C_END |
60 | 82 |
61 #endif | 83 #endif |
OLD | NEW |