Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Document WALTSIG (and __WCLONE) and WALLSIG (__...
details: https://anonhg.NetBSD.org/src/rev/a1646f1990ad
branches: trunk
changeset: 512884:a1646f1990ad
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jul 18 19:12:21 2001 +0000
description:
Document WALTSIG (and __WCLONE) and WALLSIG (__WALL). Restructure the
options documentation to make it easier to read.
diffstat:
lib/libc/sys/wait.2 | 45 +++++++++++++++++++++++++++++++++------------
1 files changed, 33 insertions(+), 12 deletions(-)
diffs (64 lines):
diff -r d34d9c7609d4 -r a1646f1990ad lib/libc/sys/wait.2
--- a/lib/libc/sys/wait.2 Wed Jul 18 19:11:14 2001 +0000
+++ b/lib/libc/sys/wait.2 Wed Jul 18 19:12:21 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: wait.2,v 1.12 1999/12/02 21:42:40 kleink Exp $
+.\" $NetBSD: wait.2,v 1.13 2001/07/18 19:12:21 thorpej Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -105,22 +105,43 @@
.Fa status
parameter is defined below. The
.Fa options
-parameter contains the bitwise OR of any of the following options.
-The
-.Dv WNOHANG
-option
-is used to indicate that the call should not block if
+parameter contains the bitwise OR of any of the following options:
+.Bl -tag -width WUNTRACED
+.It Dv WNOHANG
+This option is used to indicate that the call should not block if
there are no processes that wish to report status.
-If the
-.Dv WUNTRACED
-option is set,
-children of the current process that are stopped
+.It Dv WUNTRACED
+If this option is set, children of the current process that are stopped
due to a
.Dv SIGTTIN , SIGTTOU , SIGTSTP ,
or
.Dv SIGSTOP
-signal also have
-their status reported.
+signal also have their status reported.
+.It Dv WALTSIG
+If this option is specified, the call will wait only for processes that
+are configured to post a signal other than
+.Dv SIGCHLD
+when they exit. If
+.Dv WALTSIG
+is not specified, the call will wait only for processes that
+are configured to post
+.Dv SIGCHLD .
+.It Dv __WCLONE
+This is an alias for
+.Dv WALTSIG .
+It is provided for compatibility with the Linux
+.Xr clone 2
+API.
+.It Dv WALLSIG
+If this option is specified, the call will wait for all children regardless
+of what exit signal they post.
+.It Dv __WALL
+This is an alias for
+.Dv WALLSIG .
+It is provided for compatibility with the Linux
+.Xr clone 2
+API .
+.El
.Pp
If
.Fa rusage
Home |
Main Index |
Thread Index |
Old Index