From: Michael Neumann Date: 2004-07-22T00:06:47+09:00 Subject: Re: sysread and buffered I/O Gavin Sinclair wrote: > [...] > > What about this? > > 1) read(n): > current method; no problem if less than n bytes read, > and no blocking > > 2) read(n, :noeof): > as (1), but raises EOFError on end of file :raise_on_eof reads better for me. but may be too long. Regards, Michael