On 7/5/07, Sape Mullender <[EMAIL PROTECTED]> wrote:


Many control files are read using the helper routines readstr and readbuf
(see 9p(2)).
They extract from a string or buffer, the portion needed for the read
command, given seek offset and byte count.  The string buffer is usually
generated anew for each read.

another option is to only re-read when offset is 0. I.e., assume a
non-zero offset means 'still reading'.

But that approach has its own problems.

ron

Reply via email to