summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/madvise.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/madvise.2')
-rw-r--r--lib/libc/sys/madvise.26
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2
index 9a82782..1f8aec0 100644
--- a/lib/libc/sys/madvise.2
+++ b/lib/libc/sys/madvise.2
@@ -60,6 +60,8 @@ The known behaviors are given in
#define MADV_FREE 5 /* data is now unimportant */
#define MADV_NOSYNC 6 /* no explicit commit to physical backing store */
#define MADV_AUTOSYNC 7 /* default commit method to physical backing store */
+#define MADV_NOCORE 8 /* do not include these pages in a core file */
+#define MADV_CORE 9 /* revert to including pages in a core file */
.Ed
.Pp
.Bl -tag -width MADV_SEQUENTIAL
@@ -123,6 +125,10 @@ may or may not be reverted. You can guarentee reversion by using the
or
.Xr fsync 2
system calls.
+.It Dv MADV_NOCORE
+Region is not included in a core file.
+.It Dv MADV_CORE
+Include region in a core file.
.El
.Sh RETURN VALUES
Upon successful completion,
OpenPOWER on IntegriCloud