ref: aa566d30dbe6c835768793953370565d5b562da0
parent: a0e3c2e7be6b4eec4da6c4e13525d03072d9a801
author: Alex Musolino <alex@musolino.id.au>
date: Thu Dec 19 12:12:15 EST 2019
thread(2): fix description of when/why procexec(l) functions return
--- a/sys/man/2/thread
+++ b/sys/man/2/thread
@@ -332,7 +332,8 @@
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
--
⑨