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

Side by Side Diff: src/shared/platform/nacl_host_dir.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/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 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 /* 7 /*
8 * NaCl Service Runtime. Host Directory descriptor / Handle abstraction. 8 * NaCl Service Runtime. Host Directory descriptor / Handle abstraction.
9 */ 9 */
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 */ 69 */
70 extern int NaClHostDirRewind(struct NaClHostDir *d); 70 extern int NaClHostDirRewind(struct NaClHostDir *d);
71 71
72 /* 72 /*
73 * Dtor for the NaClHostDir object. Close the directory. 73 * Dtor for the NaClHostDir object. Close the directory.
74 * 74 *
75 * Underlying function: closedir(Mac) / close(Linux) / FindClose(Windows) 75 * Underlying function: closedir(Mac) / close(Linux) / FindClose(Windows)
76 */ 76 */
77 extern int NaClHostDirClose(struct NaClHostDir *d); 77 extern int NaClHostDirClose(struct NaClHostDir *d);
78 78
79 extern int NaClHostDirFchdir(struct NaClHostDir *d) NACL_WUR;
80
81 extern int NaClHostDirFchmod(struct NaClHostDir *d, int mode) NACL_WUR;
82
83 extern int NaClHostDirFsync(struct NaClHostDir *d) NACL_WUR;
84
85 extern int NaClHostDirFdatasync(struct NaClHostDir *d) NACL_WUR;
86
79 EXTERN_C_END 87 EXTERN_C_END
80 88
81 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DIR_H__ */ 89 #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