Sign in
cobalt
/
cobalt
/
b95ea55ccebda33f820d043e4b4dc85c10d7584d
/
.
/
third_party
/
musl
/
src
/
linux
/
remap_file_pages.c
blob: a9699ce2e4f7d71c18cf500bacbfda4c47e86ce2 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<sys/mman.h>
#include
"syscall.h"
int
remap_file_pages
(
void
*
addr
,
size_t
size
,
int
prot
,
size_t
pgoff
,
int
flags
)
{
return
syscall
(
SYS_remap_file_pages
,
addr
,
size
,
prot
,
pgoff
,
flags
);
}