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 be
4 * found in the LICENSE file.
8 * NaCl Service Runtime. IMC API.
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_
12 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_INCLUDE_SYS_MMAN_H_
14 #include <sys/types.h>
16 #include "native_client/src/trusted/service_runtime/include/bits/mman.h"
18 #if defined(NACL_IN_TOOLCHAIN_HEADERS)
24 /** Description of mmap. More details... */
25 extern void *mmap(void *start, size_t length, int prot, int flags,
26 int desc, off_t offset);
28 /** Description of munmap. More details... */
29 extern int munmap(void *start, size_t length);
31 /** Description of mprotect. More details... */
32 extern int mprotect(void *start, size_t length, int prot);
38 #endif // defined(NACL_IN_TOOLCHAIN_HEADERS)