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

Side by Side Diff: src/shared/platform/nacl_host_dir.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
« no previous file with comments | « src/shared/platform/nacl_host_desc.h ('k') | src/shared/platform/osx/nacl_host_dir.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 2008 The Native Client Authors. All rights reserved. 2 * Copyright 2008 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can
4 * be found in the LICENSE file. 4 * be found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl Service Runtime. Host Directory descriptor / Handle abstraction. 8 * NaCl Service Runtime. Host Directory descriptor / Handle abstraction.
9 */ 9 */
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void *buf, 59 void *buf,
60 size_t len); 60 size_t len);
61 61
62 /* 62 /*
63 * Dtor for the NaClHostDir object. Close the directory. 63 * Dtor for the NaClHostDir object. Close the directory.
64 * 64 *
65 * Underlying host-OS functions: closedir(Mac) / close(Linux) / FindClose 65 * Underlying host-OS functions: closedir(Mac) / close(Linux) / FindClose
66 */ 66 */
67 extern int NaClHostDirClose(struct NaClHostDir *d); 67 extern int NaClHostDirClose(struct NaClHostDir *d);
68 68
69 extern int NaClHostDirFchdir(struct NaClHostDir *d) NACL_WUR;
70
71 extern int NaClHostDirFchmod(struct NaClHostDir *d, int mode) NACL_WUR;
72
73 extern int NaClHostDirFsync(struct NaClHostDir *d) NACL_WUR;
74
75 extern int NaClHostDirFdatasync(struct NaClHostDir *d) NACL_WUR;
76
69 EXTERN_C_END 77 EXTERN_C_END
70 78
71 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DIR_H__ */ 79 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DIR_H__ */
OLDNEW
« no previous file with comments | « src/shared/platform/nacl_host_desc.h ('k') | src/shared/platform/osx/nacl_host_dir.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698