From: Jacob Moody <jsmoody@iastate.edu>
To: 9front@9front.org
Subject: [9front] thread(2) procexec
Date: Wed, 18 Dec 2019 14:34:25 -0600 [thread overview]
Message-ID: <CA+gzr0+GfFqM=7oqDNwj_m6cZxBk4DL2dchQd_xusmt+JxWbZw@mail.gmail.com> (raw)
Hello,
I noticed that thread(2) claims that procexec and procexecl return -1
on error, but have a return type of void. This patch removes the
mention of the -1 return from the man page.
diff -r bd352bcef025 sys/man/2/thread
--- a/sys/man/2/thread Wed Dec 18 09:01:38 2019 +1030
+++ b/sys/man/2/thread Wed Dec 18 14:27:39 2019 -0600
@@ -332,7 +332,6 @@
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.
If
.I cpid
is not null, the pid of the invoked program
--
Jacob Moody
ISEAGE
next reply other threads:[~2019-12-18 20:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 20:34 Jacob Moody [this message]
2019-12-19 4:39 ` Alex Musolino
2019-12-19 6:32 ` Jacob Moody
2019-12-19 6:45 ` Alex Musolino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+gzr0+GfFqM=7oqDNwj_m6cZxBk4DL2dchQd_xusmt+JxWbZw@mail.gmail.com' \
--to=jsmoody@iastate.edu \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).