9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio@proxima.alt.za>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /sys/include/ape/errno.h
Date: Tue,  6 Jan 2004 14:59:19 +0200	[thread overview]
Message-ID: <20040106145918.O28128@cackle.proxima.alt.za> (raw)
In-Reply-To: <8f6657583122def2e626fafc1f27a07b@plan9.bell-labs.com>; from David Presotto on Tue, Jan 06, 2004 at 07:42:35AM -0500

On Tue, Jan 06, 2004 at 07:42:35AM -0500, David Presotto wrote:
>
> 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.
>
Yes, I think I'm going to bypass that one.  I'll see where it is
relevant, and eliminate all instances of it.  Without embarrassing
myself, I can point out that it is used in a module providing I/O
via Unix sockets, which is really not a Plan 9 favourite :-)

> ECONNRESET you probably could do by looking at the err file in
> the connection directory.

The entire I/O module will probably be streamlined to use exclusively
Plan 9 facilities.  I think a whole lot of problems will go away
as a result.  I was hoping to avoid this, but I'm not sure why one
should, Plan 9 is just superior, why battle with old fashioned
operations if one does not have to?

++L


  reply	other threads:[~2004-01-06 12:59 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
2004-01-06 12:59   ` Lucio De Re [this message]
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=20040106145918.O28128@cackle.proxima.alt.za \
    --to=lucio@proxima.alt.za \
    --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).