summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/open.2
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-07-17 05:42:10 +0000
committerschwarze <schwarze@openbsd.org>2013-07-17 05:42:10 +0000
commit23fbb714ee0d9e87b8c1fa165af1f555294785eb (patch)
tree248b04849e966acb09eff7ac5b30e5ad56bcc86c /lib/libc/sys/open.2
parentEnable jfb-style acceleration on XVR-600. (diff)
downloadwireguard-openbsd-23fbb714ee0d9e87b8c1fa165af1f555294785eb.tar.xz
wireguard-openbsd-23fbb714ee0d9e87b8c1fa165af1f555294785eb.zip
more library history
facts checked by sobrado@ style tweaks and ok jmc@
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r--lib/libc/sys/open.216
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index af4d35bdce4..d122e315ed4 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.44 2013/03/31 05:07:55 guenther Exp $
+.\" $OpenBSD: open.2,v 1.45 2013/07/17 05:42:11 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: March 31 2013 $
+.Dd $Mdocdate: July 17 2013 $
.Dt OPEN 2
.Os
.Sh NAME
@@ -434,9 +434,19 @@ The
.Fa flags
arguments has been supported since
.Bx 4.2 .
+Before that, a dedicated
+.Fn creat
+system call had to be used to create new files;
+it appeared in
+.At v1 ,
+was deprecated in
+.Bx 4.3 Reno ,
+and removed in
+.Ox 5.0 .
+.Pp
The
.Fn openat
-function call appeared in
+system call has been available since
.Ox 5.0 .
.Sh CAVEATS
The