Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Clarify use of open flags in open(2).
details: https://anonhg.NetBSD.org/src/rev/2bf12d6d71d3
branches: trunk
changeset: 960383:2bf12d6d71d3
user: dholland <dholland%NetBSD.org@localhost>
date: Wed Mar 17 08:04:39 2021 +0000
description:
Clarify use of open flags in open(2).
(Avoid using values of three that are equal to four.)
diffstat:
lib/libc/sys/open.2 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e51764c125f1 -r 2bf12d6d71d3 lib/libc/sys/open.2
--- a/lib/libc/sys/open.2 Wed Mar 17 02:24:06 2021 +0000
+++ b/lib/libc/sys/open.2 Wed Mar 17 08:04:39 2021 +0000
@@ -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 @@
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 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.
Home |
Main Index |
Thread Index |
Old Index