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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.h

Issue 11066105: [NaCl SDK] nacl_mounts: wrap functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.h
diff --git a/native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.h b/native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.h
index 6dee7173c04f997f373ba8ba0dd3673acc7bd199..e4a472c1faaddc337cee500657b71465d2cbf63a 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.h
+++ b/native_client_sdk/src/libraries/nacl_mounts/kernel_intercept.h
@@ -17,6 +17,7 @@ EXTERN_C_BEGIN
// with NULL will instantiate a default kernel proxy object. ki_init must
// be called before any other ki_XXX function can be used.
void ki_init(void* kernel_proxy);
+int ki_is_initialized();
int ki_chdir(const char* path);
char* ki_getcwd(char* buf, size_t size);
@@ -37,6 +38,7 @@ int ki_getdents(int fd, void* buf, unsigned int count);
int ki_fsync(int fd);
int ki_isatty(int fd);
int ki_close(int fd);
+off_t ki_lseek(int fd, off_t offset, int whence);
int ki_remove(const char* path);
int ki_unlink(const char* path);
int ki_access(const char* path, int amode);

Powered by Google App Engine
This is Rietveld 408576698