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

Side by Side Diff: src/trusted/service_runtime/include/sys/mman.h

Issue 10981077: change native_client/.../sys/mman.h to native_client/.../bits/mman.h (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: 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
« no previous file with comments | « src/trusted/gio/gio_shm_unbounded_test.c ('k') | src/trusted/service_runtime/mmap_test.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 (c) 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 be
4 * be found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * NaCl Service Runtime. IMC API. 8 * NaCl Service Runtime. IMC API.
9 */ 9 */
10 10
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_ 11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_ 12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_
13 13
14 #include "native_client/src/trusted/service_runtime/include/bits/mman.h" 14 #include "native_client/src/trusted/service_runtime/include/bits/mman.h"
15 15
16 #ifdef __cplusplus 16 #ifdef __cplusplus
17 extern "C" { 17 extern "C" {
18 #endif 18 #endif
19 19
20 /** Description of mmap. More details... */ 20 /** Description of mmap. More details... */
21 extern void *mmap(void *start, size_t length, int prot, int flags, 21 extern void *mmap(void *start, size_t length, int prot, int flags,
22 int desc, off_t offset); 22 int desc, off_t offset);
23 23
24 /** Description of munmap. More details... */ 24 /** Description of munmap. More details... */
25 extern int munmap(void *start, size_t length); 25 extern int munmap(void const *start, size_t length);
26 26
27 /** Description of mprotect. More details... */ 27 /** Description of mprotect. More details... */
28 extern int mprotect(void *start, size_t length, int prot); 28 extern int mprotect(void *start, size_t length, int prot);
29 29
30 #ifdef __cplusplus 30 #ifdef __cplusplus
31 } 31 }
32 #endif 32 #endif
33 33
34 #endif 34 #endif
OLDNEW
« no previous file with comments | « src/trusted/gio/gio_shm_unbounded_test.c ('k') | src/trusted/service_runtime/mmap_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698