diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-03-17 17:27:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-03-17 17:27:52 +0000 |
commit | 3c20b9b6a527397cf32fb013c86b1e4b5c422dc0 (patch) | |
tree | 5feccefeef12e6e036327536b1e086f64e36bc52 /manual/process.texi | |
parent | 48fc3dd2248fbfd6cd9e786fec89dffc604ead35 (diff) | |
download | glibc-3c20b9b6a527397cf32fb013c86b1e4b5c422dc0.tar glibc-3c20b9b6a527397cf32fb013c86b1e4b5c422dc0.tar.gz glibc-3c20b9b6a527397cf32fb013c86b1e4b5c422dc0.tar.bz2 glibc-3c20b9b6a527397cf32fb013c86b1e4b5c422dc0.zip |
Update.
1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
* posix/wordexp.c (parse_comm): Allow quoting inside $(...).
(parse_param): Fold in Andreas' fixes to do with when the end of
the parameter name has been reached, and quoting inside ${...}.
(parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
$((echo);(ls)).
1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
* manual/maint.texi: Split out installation and contribution
sections to their own appendices. Misc cleanups.
* manual/install.texi: New file. Mention add-ons. Refer to FAQ.
* manual/contrib.texi: New file.
* manual/libc.texinfo: Pull in new appendices.
* manual/header.texi: Correct node pointer.
1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/process.texi (Process Completion): Clarify return value
of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
Diffstat (limited to 'manual/process.texi')
-rw-r--r-- | manual/process.texi | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/manual/process.texi b/manual/process.texi index 56edf2d24c..71fc707f9a 100644 --- a/manual/process.texi +++ b/manual/process.texi @@ -498,10 +498,18 @@ protected using cancelation handlers. @c ref pthread_cleanup_push / pthread_cleanup_pop The return value is normally the process ID of the child process whose -status is reported. If the @code{WNOHANG} option was specified and no -child process is waiting to be noticed, the value is zero. A value of -@code{-1} is returned in case of error. The following @code{errno} -error conditions are defined for this function: +status is reported. If there are child processes but none of them is +waiting to be noticed, @code{waitpid} will block until one is. However, +if the @code{WNOHANG} option was specified, @code{waitpid} will return +zero instead of blocking. + +If a specific PID to wait for was given to @code{waitpid}, it will +ignore all other children (if any). Therefore if there are children +waiting to be noticed but the child whose PID was specified is not one +of them, @code{waitpid} will block or return zero as described above. + +A value of @code{-1} is returned in case of error. The following +@code{errno} error conditions are defined for this function: @table @code @item EINTR |