From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43332FA7.5030307@lanl.gov> Date: Thu, 22 Sep 2005 16:26:47 -0600 From: Ronald G Minnich User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] dirread() and dirreadall() References: <6d89b02b9fd505efe2c072ac2a58ce79@terzarima.net> In-Reply-To: <6d89b02b9fd505efe2c072ac2a58ce79@terzarima.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 8f4fa2fa-ead0-11e9-9d60-3106f5b1d025 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