mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-14 21:10:19 +00:00
Define MADV_DONTFORK and MADV_DOFORK.
This commit is contained in:
parent
b5876a1aa6
commit
ab28c061e9
@ -97,6 +97,8 @@
|
||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||
# define MADV_DONTNEED 6 /* Don't need these pages. */
|
||||
# define MADV_REMOVE 7 /* Remove these pages and resources. */
|
||||
# define MADV_DONTFORK 0x30 /* Do not inherit across fork. */
|
||||
# define MADV_DOFORK 0x31 /* Do inherit across fork. */
|
||||
#endif
|
||||
|
||||
/* The POSIX people had to invent similar names for the same things. */
|
||||
|
@ -88,6 +88,8 @@
|
||||
# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */
|
||||
# define MADV_WILLNEED 3 /* Will need these pages. */
|
||||
# define MADV_DONTNEED 4 /* Don't need these pages. */
|
||||
# define MADV_DONTFORK 0x30 /* Do not inherit across fork. */
|
||||
# define MADV_DOFORK 0x31 /* Do inherit across fork. */
|
||||
#endif
|
||||
|
||||
/* The POSIX people had to invent similar names for the same things. */
|
||||
|
Loading…
Reference in New Issue
Block a user