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

Side by Side Diff: src/trusted/service_runtime/sys_fdio.h

Issue 1235633004: DON'T USE THIS -- Providing some missing POSIX File syscalls. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/trusted/service_runtime/nacl_syscall_list.c ('k') | src/trusted/service_runtime/sys_fdio.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 int32_t NaClSysFstat(struct NaClAppThread *natp, 45 int32_t NaClSysFstat(struct NaClAppThread *natp,
46 int d, 46 int d,
47 uint32_t nasp); 47 uint32_t nasp);
48 48
49 int32_t NaClSysGetdents(struct NaClAppThread *natp, 49 int32_t NaClSysGetdents(struct NaClAppThread *natp,
50 int d, 50 int d,
51 uint32_t dirp, 51 uint32_t dirp,
52 size_t count); 52 size_t count);
53 53
54 int32_t NaClSysFchdir(struct NaClAppThread *natp,
55 int d);
56
57 int32_t NaClSysFchmod(struct NaClAppThread *natp,
58 int d,
59 int mode);
60
61 int32_t NaClSysFsync(struct NaClAppThread *natp,
62 int d);
63
64 int32_t NaClSysFdatasync(struct NaClAppThread *natp,
65 int d);
66
67 int32_t NaClSysFtruncate(struct NaClAppThread *natp,
68 int d,
69 nacl_abi_off_t length);
70
54 int32_t NaClSysIsatty(struct NaClAppThread *natp, 71 int32_t NaClSysIsatty(struct NaClAppThread *natp,
55 int d); 72 int d);
56 73
57 EXTERN_C_END 74 EXTERN_C_END
58 75
59 #endif 76 #endif
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/nacl_syscall_list.c ('k') | src/trusted/service_runtime/sys_fdio.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698