thread(2): fix description of when/why procexec(l) functions return
This commit is contained in:
parent
8fa9b7d6ff
commit
0bc963f928
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue