fail posix_spawn file_actions operations with negative fds
[musl.git] / src / linux / remap_file_pages.c
bloba9699ce2e4f7d71c18cf500bacbfda4c47e86ce2
1 #define _GNU_SOURCE
2 #include <sys/mman.h>
3 #include "syscall.h"
5 int remap_file_pages(void *addr, size_t size, int prot, size_t pgoff, int flags)
7 return syscall(SYS_remap_file_pages, addr, size, prot, pgoff, flags);