musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/mman.h
diff options
context:
space:
mode:
authorTrutz Behn <me@trutz.be>2015年01月28日 18:46:52 +0100
committerRich Felker <dalias@aerifal.cx>2015年01月30日 22:02:23 -0500
commit2d67ae923d11d766d9a6cea714fa487b52579f6a (patch)
tree58a14d50d8ccd612be1720085a3d26a29b597648 /include/sys/mman.h
parentc7b05bc81732e9471e8f61e2dc48ff590572724e (diff)
downloadmusl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.gz
move MREMAP_MAYMOVE and MREMAP_FIXED out of bits
the definitions are generic for all kernel archs. exposure of these macros now only occurs on the same feature test as for the function accepting them, which is believed to be more correct.
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r--include/sys/mman.h 2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index a34448a6..9fc2db51 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -32,6 +32,8 @@ int mlockall (int);
int munlockall (void);
#ifdef _GNU_SOURCE
+#define MREMAP_MAYMOVE 1
+#define MREMAP_FIXED 2
void *mremap (void *, size_t, size_t, int, ...);
int remap_file_pages (void *, size_t, int, size_t, int);
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 11:46:58 +0000

AltStyle によって変換されたページ (->オリジナル) /