repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fail posix_spawn file_actions operations with negative fds
[musl.git]
/
src
/
linux
/
remap_file_pages.c
blob
a9699ce2e4f7d71c18cf500bacbfda4c47e86ce2
1
#define _GNU_SOURCE
2
#include <sys/mman.h>
3
#include
"syscall.h"
4
5
int
remap_file_pages
(
void
*
addr
,
size_t
size
,
int
prot
,
size_t
pgoff
,
int
flags
)
6
{
7
return
syscall
(
SYS_remap_file_pages
,
addr
,
size
,
prot
,
pgoff
,
flags
);
8
}