From 720a2069286e983b63b2d66b4471bc4e30a8d2cc Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Sun, 14 Oct 2018 00:47:23 -0700 Subject: [PATCH] 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. --- doc/ref/posix.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi index 5cb68a292..388efc368 100644 --- a/doc/ref/posix.texi +++ b/doc/ref/posix.texi @@ -1744,13 +1744,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 address@hidden @deffn {Scheme Procedure} status:exit-val status @deffnx {C Function} scm_status_exit_val (status) -- 2.19.1