1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +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
specified and no process was collected.
@item
The integer status value.
The integer status value (@pxref{Process Completion Status,,, libc, The
GNU C Library Reference Manual}).
@end enumerate
@end deffn
The following three
functions can be used to decode the process status code returned
by @code{waitpid}.
functions can be used to decode the integer status value returned by
@code{waitpid}.
@deffn {Scheme Procedure} status:exit-val status
@deffnx {C Function} scm_status_exit_val (status)