thread(2): fix description of when/why procexec(l) functions return

This commit is contained in:
Alex Musolino 2019-12-19 17:12:15 +10:30
parent 8fa9b7d6ff
commit 0bc963f928

View file

@ -332,7 +332,8 @@ and
on success, on success,
they replace the calling thread (which must be the only thread in its proc) they replace the calling thread (which must be the only thread in its proc)
and invoke the external program, never returning. and invoke the external program, never returning.
On error, they return \-1. On error, they return and set
.IR errstr .
If If
.I cpid .I cpid
is not null, the pid of the invoked program is not null, the pid of the invoked program