From 429f7efba571862ed48aa60960ae7d0c28f42cb5 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Sun, 11 Mar 2001 05:18:02 +0000 Subject: Better grammar, move HISTORY before CAVEATS, and add some missing commas. --- lib/libc/sys/open.2 | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index e8dedd86a54..27931ae4164 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.20 2001/02/22 22:53:55 avsm Exp $ +.\" $OpenBSD: open.2,v 1.21 2001/03/11 05:18:01 aaron Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -282,8 +282,7 @@ and either .Dv O_EXLOCK or .Dv O_SHLOCK -are set and the file -is already locked. +are set and the file is already locked. .El .Sh SEE ALSO .Xr chmod 2 , @@ -307,7 +306,7 @@ and .Dv POSIX specifies three different flavors for syncronous I/O: .Dv O_SYNC , -.Dv O_DSYNC +.Dv O_DSYNC , and .Dv O_RSYNC . In @@ -316,23 +315,23 @@ these are all equivalent. .Pp The .Dv O_SHLOCK , -.Dv O_EXLOCK +.Dv O_EXLOCK , and .Dv O_NOFOLLOW flags are non-standard extensions and should not be used if portability is of concern. +.Sh HISTORY +An +.Fn open +function call appeared in +.At v6 . .Sh CAVEATS The .Dv O_TRUNC -flag requires that +flag requires that one of .Dv O_RDWR or .Dv O_WRONLY -are specified, or else +also be specified, else .Dv EINVAL is returned. -.Sh HISTORY -An -.Fn open -function call appeared in -.At v6 . -- cgit v1.2.3