summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorAlex Musolino <alex@musolino.id.au>2019-12-19 17:12:15 +1030
committerAlex Musolino <alex@musolino.id.au>2019-12-19 17:12:15 +1030
commit0bc963f9289643010f18f0adf90441f83141c04c (patch)
tree4d61a091bf4038b010b8acd355749e441b5e2487 /sys/man/2
parent8fa9b7d6ffeb72fdf3dde147693a322ece2af30b (diff)
thread(2): fix description of when/why procexec(l) functions return
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/thread3
1 files changed, 2 insertions, 1 deletions
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