From 0bc963f9289643010f18f0adf90441f83141c04c Mon Sep 17 00:00:00 2001 From: Alex Musolino Date: Thu, 19 Dec 2019 17:12:15 +1030 Subject: thread(2): fix description of when/why procexec(l) functions return --- sys/man/2/thread | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/man/2/thread b/sys/man/2/thread index e52289fc6..510e0bfa8 100644 --- a/sys/man/2/thread +++ b/sys/man/2/thread @@ -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 -- cgit v1.2.3