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,
they replace the calling thread (which must be the only thread in its proc)
and invoke the external program, never returning.
On error, they return \-1.
On error, they return and set
.IR errstr .
If
.I cpid
is not null, the pid of the invoked program