summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-12-26 01:01:06 +0000
committerjsg <jsg@openbsd.org>2019-12-26 01:01:06 +0000
commitcac92aec402df07f2bd9ecc1a565ff14b9556fc1 (patch)
tree4aad7abb0bc84d01a100a844d14acc9d85d22a83 /lib/libc
parentexit_type is already set up with exactly the information we need, (diff)
downloadwireguard-openbsd-cac92aec402df07f2bd9ecc1a565ff14b9556fc1.tar.xz
wireguard-openbsd-cac92aec402df07f2bd9ecc1a565ff14b9556fc1.zip
It is believed that an implementation of madvise was available in
SunOS 4.0 based on text from the following papers. "Two 4.2BSD system calls, madvise and mincore, remain unspecified, madvise is intended to provide information to the system to influence its management policies. Since a major rework of such policies was deferred to a future release, we decided to defer full specification and implementation of madvise until that time." R. Gingell, J. Moran, W. Shannon "Virtual Memory Architecture in SunOS" Proceedings of USENIX Summer Conference, June 1987 AUUGN Volume 8 Number 5, October 1987 "Memory management related system calls based on the original 4.2BSD specification that were implemented include mmap, munmap, mprotect, madvise, and mincore." J. Moran "SunOS Virtual Memory Implementation" Proceedings of the Spring 1988 European UNIX Users Group Conference, April 1988 AUUGN Volume 9 Number 3, June 1988 and a reference in "Global Index", Part Number: 800-1758-10, Revision A, of 9 May 1988 bitsavers pdf/sun/sunos/4.0/800-1758-10A_Global_Index_198805.pdf discussed with an ok schwarze@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/madvise.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/madvise.2 b/lib/libc/sys/madvise.2
index dbfd418b701..eed34f56f39 100644
--- a/lib/libc/sys/madvise.2
+++ b/lib/libc/sys/madvise.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: madvise.2,v 1.21 2019/12/21 05:23:38 jsg Exp $
+.\" $OpenBSD: madvise.2,v 1.22 2019/12/26 01:01:06 jsg Exp $
.\" $NetBSD: madvise.2,v 1.7 1995/12/27 21:17:02 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)madvise.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: December 21 2019 $
+.Dd $Mdocdate: December 26 2019 $
.Dt MADVISE 2
.Os
.Sh NAME
@@ -101,7 +101,7 @@ system call conforms to
.Sh HISTORY
The
.Fn madvise
-function has been available since
+function first appeared in SunOS 4.0 and has been available since
.Ox 2.7 .
The
.Fn posix_madvise