ref: 0bc963f9289643010f18f0adf90441f83141c04c
parent: 8fa9b7d6ffeb72fdf3dde147693a322ece2af30b
author: Alex Musolino <[email protected]>
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