9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ronald G Minnich <rminnich@lanl.gov>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] dirread() and dirreadall()
Date: Thu, 22 Sep 2005 16:26:47 -0600	[thread overview]
Message-ID: <43332FA7.5030307@lanl.gov> (raw)
In-Reply-To: <6d89b02b9fd505efe2c072ac2a58ce79@terzarima.net>

Charles Forsyth wrote:

> why did you want at most one at a time?
> 

well, it was my inability to parse english, after all.

I'm pulling one at a time since the server code I'm fooling with right 
now only returns one at a time. The Req struct in /sys/include/9p.h is a 
one-at-a-time struct, near as I can tell:

	Dir d;

So I can read lotsa dir entries, but return one at a time via the server 
code I'm using. Ah, unless I am not parsing something else correctly ...

I plan to stop doing things this way at some point, but for now I have 
other fish to fry. Not to mention, attend some remedial English classes.

ron


  reply	other threads:[~2005-09-22 22:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-22 22:10 Ronald G Minnich
2005-09-22 22:18 ` Charles Forsyth
2005-09-22 22:26   ` Ronald G Minnich [this message]
2005-09-22 22:33     ` Russ Cox
2005-09-22 22:44       ` Ronald G Minnich
2005-09-22 22:49       ` Ronald G Minnich

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=43332FA7.5030307@lanl.gov \
    --to=rminnich@lanl.gov \
    --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).