diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-02-28 04:10:35 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-02-28 04:10:35 +0000 |
| commit | 9730a5daab56ddfd4d6d0907665f275aae2b0b45 (patch) | |
| tree | 4ac8b6b9505aa6f8c9d0b1f1a6c371d68b9185f0 /lib/libc | |
| parent | 76e964f1f5256814e1c6b7e3fd104dcb72d3d6b4 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/madvise.2 | 6 | ||||
| -rw-r--r-- | lib/libc/sys/mmap.2 | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2 index 9a8278224be7..1f8aec03999b 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, diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2 index 433f8b798514..185b7b8330ee 100644 --- a/lib/libc/sys/mmap.2 +++ b/lib/libc/sys/mmap.2 @@ -179,6 +179,8 @@ system call is obsolete since implements a coherent filesystem buffer cache. However, it may be used to associate dirty VM pages with filesystem buffers and thus cause them to be flushed to physical media sooner rather then later. +.It Dv MAP_NOCORE +Region is not included in a core file. .El .Pp The |
