projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not try to interpret implementation specific strings as tz definition
[musl]
/
include
/
sys
/
mman.h
diff --git
a/include/sys/mman.h
b/include/sys/mman.h
index
5cfafbe
..
a34448a
100644
(file)
--- a/
include/sys/mman.h
+++ b/
include/sys/mman.h
@@
-4,10
+4,16
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
+
#define __NEED_mode_t
#define __NEED_size_t
#define __NEED_off_t
#define __NEED_mode_t
#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>
#include <bits/alltypes.h>
#include <bits/mman.h>
@@
-27,10
+33,12
@@
int munlockall (void);
#ifdef _GNU_SOURCE
void *mremap (void *, size_t, size_t, int, ...);
#ifdef _GNU_SOURCE
void *mremap (void *, size_t, size_t, int, ...);
+int remap_file_pages (void *, size_t, int, size_t, int);
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int madvise (void *, size_t, int);
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int madvise (void *, size_t, int);
+int mincore (void *, size_t, unsigned char *);
#endif
int shm_open (const char *, int, mode_t);
#endif
int shm_open (const char *, int, mode_t);