Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Try improving readability in wrt negations.



details:   https://anonhg.NetBSD.org/src/rev/b9c49cd857b1
branches:  trunk
changeset: 959352:b9c49cd857b1
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Feb 09 09:01:29 2021 +0000

description:
Try improving readability in wrt negations.

Use Nx.  Remove trailing whitespace.  Fix some typos.

diffstat:

 lib/libc/sys/poll.2 |  23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diffs (94 lines):

diff -r 6cb368605611 -r b9c49cd857b1 lib/libc/sys/poll.2
--- a/lib/libc/sys/poll.2       Tue Feb 09 05:53:14 2021 +0000
+++ b/lib/libc/sys/poll.2       Tue Feb 09 09:01:29 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: poll.2,v 1.36 2021/02/09 01:12:01 dholland Exp $
+.\"    $NetBSD: poll.2,v 1.37 2021/02/09 09:01:29 wiz Exp $
 .\"
 .\" Copyright (c) 1998, 2005, 2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -57,7 +57,7 @@
 examine a set of file descriptors to see if some of them are ready for
 I/O.
 For each object inspected, the caller provides a list of conditions
-(called ``events'') to check for, and the kernel returns a list of 
+(called ``events'') to check for, and the kernel returns a list of
 conditions that are true.
 The intent, as with
 .Xr select 2 ,
@@ -95,7 +95,7 @@
 .Pp
 Similarly, if
 .Fa ts
-is a non-null pointer, it references a timespec structure which specifies a
+is not a null pointer, it references a timespec structure which specifies a
 maximum interval to wait for any file descriptor to become ready.
 If
 .Fa ts
@@ -106,7 +106,7 @@
 block indefinitely.
 If
 .Fa ts
-is a non-null pointer, referencing a zero-valued timespec structure, then
+is not a null pointer, referencing a zero-valued timespec structure, then
 .Fn pollts
 and
 .Fn ppoll
@@ -114,7 +114,7 @@
 .Pp
 If
 .Fa sigmask
-is a non-null pointer, then the
+is not a null pointer, then the
 .Fn pollts
 and
 .Fn ppoll
@@ -134,7 +134,7 @@
     short  revents;  /* events returned */
 };
 .Ed
-.\" without this Pp there is no blank line after the struct which is oogly
+.\" without this Pp there is no blank line after the struct which is ugly
 .Pp
 The fields of
 .Fa struct pollfd
@@ -151,11 +151,10 @@
 Conditions that are true.
 (Output)
 .El
-.Pp
 .Ss Conditions
 There are four conditions that can be placed in
 .Fa events
-and reported in 
+and reported in
 .Fa revents :
 .Pp
 .Bl -tag -width XXXPOLLWRNORM -compact
@@ -237,13 +236,13 @@
 .Fa revents
 bitmask.
 Attempting to perform I/O on this descriptor will then return an error.
-This behaviour is believed to be more useful.
+This behavior is believed to be more useful.
 .Pp
 The
 .Fn ppoll
 function is a wrapper for
 .Fn pollts
-to provide compatiblity with the Linux implementation.
+to provide compatibility with the Linux implementation.
 .Sh ERRORS
 An error return from
 .Fn poll
@@ -273,7 +272,9 @@
 .Fn poll
 function appeared in
 .At V.3 ,
-and was added to NetBSD in
+and was added to
+.Nx
+in
 .Nx 1.3 .
 The
 .Fn pollts



Home | Main Index | Thread Index | Old Index