Module Name:    src
Committed By:   dholland
Date:           Wed Mar 17 08:04:39 UTC 2021

Modified Files:
        src/lib/libc/sys: open.2

Log Message:
Clarify use of open flags in open(2).

(Avoid using values of three that are equal to four.)


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/lib/libc/sys/open.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/open.2
diff -u src/lib/libc/sys/open.2:1.63 src/lib/libc/sys/open.2:1.64
--- src/lib/libc/sys/open.2:1.63	Mon Nov 30 00:21:35 2020
+++ src/lib/libc/sys/open.2	Wed Mar 17 08:04:39 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: open.2,v 1.63 2020/11/30 00:21:35 riastradh Exp $
+.\"	$NetBSD: open.2,v 1.64 2021/03/17 08:04:39 dholland Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)open.2	8.2 (Berkeley) 11/16/93
 .\"
-.Dd September 16, 2019
+.Dd March 17, 2021
 .Dt OPEN 2
 .Os
 .Sh NAME
@@ -103,7 +103,7 @@ The
 are specified by
 .Em or Ns 'ing
 the values listed below.
-Applications must specify exactly one of the first three values
+Applications must specify exactly one of the these four values
 (file access methods):
 .Bl -tag -offset indent -width O_DIRECTORY
 .It Dv O_RDONLY
@@ -116,7 +116,7 @@ Open for execute only.
 Open for reading and writing.
 .El
 .Pp
-Any combination of the following may be used:
+Any combination of the following may be used as well:
 .Bl -tag -offset indent -width O_DIRECTORY
 .It Dv O_NONBLOCK
 Do not block on open or for data to become available.

Reply via email to