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