summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/open.2
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-11-06 17:22:20 +0000
committerschwarze <schwarze@openbsd.org>2011-11-06 17:22:20 +0000
commit3eb97ce04b934985f8b541cad76cf800ef8c3420 (patch)
treefc1f2d235a4ae940f9188fac794cd589bff6a8e8 /lib/libc/sys/open.2
parentNo need to save/restore the batch_id since the envelope is not dumped (diff)
downloadwireguard-openbsd-3eb97ce04b934985f8b541cad76cf800ef8c3420.tar.xz
wireguard-openbsd-3eb97ce04b934985f8b541cad76cf800ef8c3420.zip
Commemorate research!dmr by documenting the history of all
system calls existing since Version 1 AT&T UNIX (first batch). All information taken from primary sources at the UNIX tree of the UNIX heritage society, http://minnie.tuhs.org/cgi-bin/utree.pl . The number of errors in the existing manuals is astonishing. All facts checked by sobrado@. Feedback and ok on wording and formatting by jmc@.
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r--lib/libc/sys/open.212
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 45b4ee28d8f..36e073705a5 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.39 2011/07/18 23:04:40 matthew Exp $
+.\" $OpenBSD: open.2,v 1.40 2011/11/06 17:22:20 schwarze Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\"
-.Dd $Mdocdate: July 18 2011 $
+.Dd $Mdocdate: November 6 2011 $
.Dt OPEN 2
.Os
.Sh NAME
@@ -408,8 +408,12 @@ is of concern.
.Sh HISTORY
An
.Fn open
-function call appeared in
-.At v2 .
+system call first appeared in
+.At v1 .
+The
+.Fa flags
+arguments has been supported since
+.Bx 4.2 .
The
.Fn openat
function call appeared in