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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts/kernel_proxy.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #include "nacl_mounts/kernel_proxy.h" 5 #include "nacl_mounts/kernel_proxy.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <pthread.h> 9 #include <pthread.h>
10 #include <string.h> 10 #include <string.h>
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 return -1; 340 return -1;
341 } 341 }
342 int KernelProxy::remove(const char* path) { 342 int KernelProxy::remove(const char* path) {
343 errno = EINVAL; 343 errno = EINVAL;
344 return -1; 344 return -1;
345 } 345 }
346 int KernelProxy::unlink(const char* path) { 346 int KernelProxy::unlink(const char* path) {
347 errno = EINVAL; 347 errno = EINVAL;
348 return -1; 348 return -1;
349 } 349 }
350 int KernelProxy::access(const char*path, int amode) { 350 int KernelProxy::access(const char* path, int amode) {
351 errno = EINVAL; 351 errno = EINVAL;
352 return -1; 352 return -1;
353 } 353 }
354 off_t KernelProxy::lseek(int fd, off_t offset, int whence) { 354 off_t KernelProxy::lseek(int fd, off_t offset, int whence) {
355 errno = EINVAL; 355 errno = EINVAL;
356 return -1; 356 return -1;
357 } 357 }
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/kernel_proxy.h ('k') | native_client_sdk/src/libraries/nacl_mounts/kernel_wrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698