summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-09-07 19:07:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-09-07 19:07:44 +0000
commitab4efda3eeeba89d68be696fa12f3dc1a203ddb3 (patch)
tree8fe4284463ee5792f4c2c20dccb1c5dcb8da1e91
parent042f5bc40c40042646061cdf201dbef0e80d604f (diff)
- O_NOFOLLOW is no longer non-posix; from thomas klausner
- bump posix revision and remove xpg; from millert ok millert
-rw-r--r--lib/libc/sys/open.213
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 040f147fed0..3fae4b40631 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.33 2007/05/31 19:19:33 jmc Exp $
+.\" $OpenBSD: open.2,v 1.34 2010/09/07 19:07:43 jmc 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: May 31 2007 $
+.Dd $Mdocdate: September 7 2010 $
.Dt OPEN 2
.Os
.Sh NAME
@@ -311,9 +311,7 @@ An attempt was made to open a socket (not currently implemented).
The
.Fn open
function conforms to
-.St -p1003.1-90
-and
-.St -xpg4.2 .
+.St -p1003.1-2008 .
.Pp
.Dv POSIX
specifies three different flavors for synchronous I/O:
@@ -326,10 +324,9 @@ In
these are all equivalent.
.Pp
The
-.Dv O_SHLOCK ,
-.Dv O_EXLOCK ,
+.Dv O_SHLOCK
and
-.Dv O_NOFOLLOW
+.Dv O_EXLOCK
flags are non-standard extensions and should not be used if portability
is of concern.
.Sh HISTORY