source:
EcnlProtoTool/trunk/musl-1.1.18/src/linux/remap_file_pages.c
Last change on this file was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 220 bytes |
Line | |
---|---|
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 | } |
Note:
See TracBrowser
for help on using the repository browser.