1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00

Clarify the manual's "Processes" section.

* doc/ref/posix.texi (Processes): Use the phrase "integer status value"
consistently, and add a cross-reference to the section of the glibc
manual that explains what it is.
This commit is contained in:
Chris Marusich 2018-10-14 00:47:23 -07:00 committed by Mark H Weaver
parent 1990aa9163
commit 8cdd3a0773

View file

@ -1749,13 +1749,14 @@ The return value is a pair containing:
The process ID of the child process, or 0 if @code{WNOHANG} was The process ID of the child process, or 0 if @code{WNOHANG} was
specified and no process was collected. specified and no process was collected.
@item @item
The integer status value. The integer status value (@pxref{Process Completion Status,,, libc, The
GNU C Library Reference Manual}).
@end enumerate @end enumerate
@end deffn @end deffn
The following three The following three
functions can be used to decode the process status code returned functions can be used to decode the integer status value returned by
by @code{waitpid}. @code{waitpid}.
@deffn {Scheme Procedure} status:exit-val status @deffn {Scheme Procedure} status:exit-val status
@deffnx {C Function} scm_status_exit_val (status) @deffnx {C Function} scm_status_exit_val (status)