diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-12-21 05:23:39 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-12-21 05:23:39 +0000 |
commit | b152682605c66991fc6639cf9f6b97e811044e8b (patch) | |
tree | db7212cfd05a0db883cf2e11112ce9c1618ed84f /include/errno.h | |
parent | 49a649241ed4c6f3373c5a1752e0e635e1fb7a99 (diff) |
In "4.2BSD System Manual" (/usr/doc/sysman in 4.2BSD source)
mmap(), munman(), madvise() and mprotect() are described as planned for
later releases.
A fully functional mmap(2) supporting shared libraries first appeared in
SunOS 4.0 along with msync(2). SunOS 4.1 added madvise(3) and replaced
msync(2) with mctl(2) which was was used to implement msync(3), mlock(3)
and munlock(3).
While some of these functions appear as empty or ifdef'd functions in
4.1cBSD and later it was not until the Mach VM was integrated with Net/2
that most of them were implemented. Though the CSRG releases never
supported shared libraries or madvise(). mlock()/munlock() were not in
Net/2 as they were added by hibler in 1993, but were in 4.4BSD.
madvise(2) was implemented for UVM in NetBSD 1.5 and ported to
OpenBSD 2.7.
For now instead of trying to accurately describe when interfaces
first appeared in other systems correct when they were first available
in CSRG or OpenBSD releases, retaining the text in mmap(2) discussing
SunOS 4.0.
madvise(2) 4.4BSD -> OpenBSD 2.7
mmap2(2) 4.4BSD -> 4.3BSD Net/2
mprotect(2) 4.4BSD -> 4.3BSD Net/2
msync(2) 4.4BSD -> 4.3BSD Net/2
munmap(2) 4.1cBSD -> 4.3BSD Net/2
Diffstat (limited to 'include/errno.h')
0 files changed, 0 insertions, 0 deletions