Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Use more markup, fix a typo.



details:   https://anonhg.NetBSD.org/src/rev/0c0b7a2225ba
branches:  trunk
changeset: 344556:0c0b7a2225ba
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Apr 04 13:13:09 2016 +0000

description:
Use more markup, fix a typo.

diffstat:

 lib/libc/sys/wait.2 |  29 +++++++++++++++++------------
 1 files changed, 17 insertions(+), 12 deletions(-)

diffs (92 lines):

diff -r be1827920df7 -r 0c0b7a2225ba lib/libc/sys/wait.2
--- a/lib/libc/sys/wait.2       Mon Apr 04 13:05:56 2016 +0000
+++ b/lib/libc/sys/wait.2       Mon Apr 04 13:13:09 2016 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: wait.2,v 1.28 2016/04/03 00:19:42 christos Exp $
+.\"    $NetBSD: wait.2,v 1.29 2016/04/04 13:13:09 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -224,7 +224,7 @@
 and
 .Fa id
 arguments support many other types of
-identifers in addition to process IDs and process group IDs.
+identifiers in addition to process IDs and process group IDs.
 .Bl -bullet -offset indent
 .It
 If
@@ -309,7 +309,7 @@
 .It
 If
 .Fa wpid
-is -1, the call waits for any child process.
+is \-1, the call waits for any child process.
 .It
 If
 .Fa wpid
@@ -323,7 +323,7 @@
 .It
 If
 .Fa wpid
-is less than -1, the call waits for any process whose process group ID
+is less than \-1, the call waits for any process whose process group ID
 equals the absolute value of
 .Fa wpid .
 .El
@@ -406,24 +406,30 @@
 must be specified.
 Otherwise there will be no events for the call to report.
 To avoid hanging indefinitely in such a case these functions
-return -1 with
+return \-1 with
 .Dv errno
 set to
 .Dv EINVAL .
 .Pp
 If
 .Fa rusage
-is non-NULL, a summary of the resources used by the terminated
+is
+.Pf non- Dv NULL ,
+a summary of the resources used by the terminated
 process and all its children is returned.
 .Pp
 If
 .Fa wrusage
-is non-NULL, separate summaries are returned for the resources used
+is
+.Pf non- Dv NULL ,
+separate summaries are returned for the resources used
 by the terminated process and the resources used by all its children.
 .Pp
 If
 .Fa infop
-is non-NULL, a
+is
+.Pf non- Dv NULL ,
+a
 .Dv siginfo_t
 structure is returned with the
 .Fa si_signo
@@ -612,9 +618,8 @@
 will fail and return immediately if:
 .Bl -tag -width Er
 .It Bq Er ECHILD
-The calling process has no existing unwaited-for child processes.
-.It Bq Er ECHILD
-No status from the terminated child process is available
+The calling process has no existing unwaited-for child processes; or
+no status from the terminated child process is available
 because the calling process has asked the system to discard
 such status by ignoring the signal
 .Dv SIGCHLD
@@ -662,7 +667,7 @@
 .St -p1003.1-90 ;
 the
 .Fn waitid
-function conforms to 
+function conforms to
 .St -p1003.1-2004 ;
 the
 .Fn wait3



Home | Main Index | Thread Index | Old Index