From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /sys/include/ape/errno.h
Date: Tue, 6 Jan 2004 07:42:35 -0500 [thread overview]
Message-ID: <8f6657583122def2e626fafc1f27a07b@plan9.bell-labs.com> (raw)
In-Reply-To: <20040106122410.J28128@cackle.proxima.alt.za>
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
EWOULDBLOCK would be moderately hard to do since you need that
info from the kernel and it doesn't give it to you. The best you
could do is chedk q lengths with a stat and maybe approximate it.
ECONNRESET you probably could do by looking at the err file in
the connection directory.
[-- Attachment #2: Type: message/rfc822, Size: 2748 bytes --]
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans mailing list <9fans@cse.psu.edu>
Subject: [9fans] /sys/include/ape/errno.h
Date: Tue, 6 Jan 2004 12:24:11 +0200
Message-ID: <20040106122410.J28128@cackle.proxima.alt.za>
I note that the choice of error numbers, specially those under the
heading
/* bsd networking software */
is not consistent with BSD. I also miss EWOULDBLOCK and ECONNRESET,
although I confess I did not search very far for them, so if they are
to be found elsewhere, please point them out to me.
What I want to know is whether the choice of errnos has a deeper
meaning, or whether I could just replace the values with those from a
recent (NetBSD 1.6.1, in my case) *BSD distribution.
I imagine I'd have to recompile all the libraries for consistency, at
least libap.a?
++L
next prev parent reply other threads:[~2004-01-06 12:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-06 10:24 Lucio De Re
2004-01-06 10:29 ` Charles Forsyth
2004-01-06 10:47 ` Lucio De Re
2004-01-06 10:56 ` Charles Forsyth
2004-01-06 11:19 ` Lucio De Re
2004-01-06 12:30 ` David Presotto
2004-01-06 12:48 ` [9fans] Newbie Question: Plan 9 for a windows file server? Chris Lamrock
2004-01-06 13:03 ` [9fans] /sys/include/ape/errno.h Lucio De Re
2004-01-06 13:15 ` David Presotto
2004-01-06 13:25 ` Russ Cox
2004-01-06 15:04 ` Charles Forsyth
2004-01-06 17:24 ` Lucio De Re
2004-01-06 12:42 ` David Presotto [this message]
2004-01-06 12:59 ` Lucio De Re
2004-01-06 15:22 ` ron minnich
2004-01-06 16:41 ` Nigel Roles
2004-01-06 18:19 Richard C Bilson
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=8f6657583122def2e626fafc1f27a07b@plan9.bell-labs.com \
--to=presotto@closedmind.org \
--cc=9fans@cse.psu.edu \
/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).