On Fri, Jan 05, 2001 at 12:37:39PM -0500, Dan Sugalski wrote:
> I've been pretty much assuming we'd need:
> 
>    open
>    close
>    seek
>    tell

tell can be seek F, 0, SEEK_CUR

(unless tell is intended to return some other information on unseekable
files. In which case internally one could use a fourth value next to
SEEK_SET, SEEK_CUR, SEEK_END internally for tell, if saving one vtable
slot is worthwhile)

>    push_filter
>    pop_filter
>    read
>    unread
>    write
>    prefetch
> 
> and maybe have the return data have some 'I/O complete' marker so async I/O 
> will work out properly.

Nicholas Clark

Reply via email to