9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Alex Musolino <alex@musolino.id.au>
To: 9front@9front.org
Subject: Re: [9front] thread(2) procexec
Date: Thu, 19 Dec 2019 15:09:24 +1030	[thread overview]
Message-ID: <F945AC5132AF650627E2278F6B483C2E@musolino.id.au> (raw)
In-Reply-To: <CA+gzr0+GfFqM=7oqDNwj_m6cZxBk4DL2dchQd_xusmt+JxWbZw@mail.gmail.com>

I think the following would be better, as it more closely resembles
the DIAGNOSTICS section from exec(2).

diff -r 3e677a96125d sys/man/2/thread
--- a/sys/man/2/thread	Tue Dec 10 15:13:44 2019 +1030
+++ b/sys/man/2/thread	Thu Dec 19 15:07:34 2019 +1030
@@ -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

--
Cheers,
Alex Musolino


  reply	other threads:[~2019-12-19  4:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 20:34 Jacob Moody
2019-12-19  4:39 ` Alex Musolino [this message]
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=F945AC5132AF650627E2278F6B483C2E@musolino.id.au \
    --to=alex@musolino.id.au \
    --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).