Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Fix some typos/malapropisms in directory(3).



details:   https://anonhg.NetBSD.org/src/rev/c43841b20750
branches:  trunk
changeset: 952801:c43841b20750
user:      dholland <dholland%NetBSD.org@localhost>
date:      Wed Feb 17 23:39:46 2021 +0000

description:
Fix some typos/malapropisms in directory(3).

diffstat:

 lib/libc/gen/directory.3 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (48 lines):

diff -r b0d5d6c23ff8 -r c43841b20750 lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3  Wed Feb 17 23:21:46 2021 +0000
+++ b/lib/libc/gen/directory.3  Wed Feb 17 23:39:46 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: directory.3,v 1.41 2017/07/03 21:32:49 wiz Exp $
+.\"    $NetBSD: directory.3,v 1.42 2021/02/17 23:39:46 dholland Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -224,7 +224,7 @@
 It also causes the directory stream to refer to the
 current state of the corresponding directory, as if a call to
 .Fn opendir
-would have been made.
+was made.
 .Pp
 If
 .Fa dirp
@@ -281,7 +281,7 @@
 .Sh COMPATIBILITY
 The described directory operations have traditionally been problematic
 in terms of portability.
-A good example is the semantics around
+A good example is the semantics of
 .Sq \&.
 (dot) and
 .Sq \&..
@@ -313,7 +313,7 @@
 function behaves as if the
 .Dv FD_CLOEXEC
 had been set for the file descriptor.
-In another words, it is mandatory that
+In other words, it is mandatory that
 .Fn closedir
 deallocates the file descriptor.
 .It
@@ -344,9 +344,9 @@
 .Fn telldir
 and
 .Fn seekdir ,
-any subsequent call to
+the results of any subsequent call to
 .Fn readdir
-is unspecified, possibly resulting in undefined behavior.
+are unspecified, possibly resulting in undefined behavior.
 .It
 After a call to
 .Xr fork 2 ,



Home | Main Index | Thread Index | Old Index