summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libos.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index f8cda4c..9683485 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -1014,7 +1014,7 @@ functions are described in section \ref{os-newstreams}.
\funcline{spawnvpe}{mode, file, args, env}
Execute the program \var{path} in a new process. If \var{mode} is
\constant{P_NOWAIT}, this function returns the process ID of the new
-process; it \var{mode} is \constant{P_WAIT}, returns the process's
+process; if \var{mode} is \constant{P_WAIT}, returns the process's
exit code if it exits normally, or \code{-\var{signal}}, where
\var{signal} is the signal that killed the process.