18 #pragma GCC system_header
19 #include_next <sys/mman.h>
21 #ifndef _COBALT_SYS_MMAN_H
22 #define _COBALT_SYS_MMAN_H
24 #include <sys/types.h>
25 #include <cobalt/wrappers.h>
31 COBALT_DECL(
void *, mmap(
void *addr,
size_t length,
int prot,
int flags,
32 int fd, off_t offset));
34 COBALT_DECL(
void *, mmap64(
void *addr,
size_t length,
int prot,
int flags,
35 int fd, off64_t offset));