summaryrefslogtreecommitdiff
path: root/include/sys/mman.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-16 22:26:23 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-16 22:26:23 -0400
commit662da62eb7cba808e98fe8ea65f6bbf55fa50f1e (patch)
tree95e2e2b286336f5cde1c75e86689236c0e5a2ccf /include/sys/mman.h
parentbd261bf25e000a1b754616db0b2ee1e14835a75d (diff)
downloadmusl-662da62eb7cba808e98fe8ea65f6bbf55fa50f1e.tar.gz
musl-662da62eb7cba808e98fe8ea65f6bbf55fa50f1e.tar.bz2
musl-662da62eb7cba808e98fe8ea65f6bbf55fa50f1e.tar.xz
musl-662da62eb7cba808e98fe8ea65f6bbf55fa50f1e.zip
add clock_adjtime, remap_file_pages, and syncfs syscall wrappers
patch by Justin Cormack, with slight modification
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r--include/sys/mman.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index 136b45b3..9a1e60ff 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -10,6 +10,10 @@ extern "C" {
#define __NEED_size_t
#define __NEED_off_t
+#if defined(_GNU_SOURCE)
+#define __NEED_ssize_t
+#endif
+
#include <bits/alltypes.h>
#include <bits/mman.h>
@@ -29,6 +33,7 @@ int munlockall (void);
#ifdef _GNU_SOURCE
void *mremap (void *, size_t, size_t, int, ...);
+int remap_file_pages (void *, size_t, int, ssize_t, int);
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)