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

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

Issue 24889002: Provides some of the missing POSIX file syscalls Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 2 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 /* 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
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
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/nacl_syscall_handlers_gen.py ('k') | src/trusted/service_runtime/sys_fdio.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698