Sign in
cobalt
/
cobalt
/
d2bc3b69d823bbaf46d1c4355b23486a85a6d791
/
.
/
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
);
}