9 #include "wvbufstream.h"
12 WvBufStream::WvBufStream()
18 WvBufStream::~WvBufStream()
58 if (si.wants.writable || eof)
virtual void pre_select(SelectInfo &si)
pre_select() sets up for eventually calling ::select().
virtual bool post_select(SelectInfo &si)
post_select() is called after ::select(), and returns true if this object is now ready.
virtual void close()
Close the stream if it is open; isok() becomes false from now on.
virtual void close()
Close the stream if it is open; isok() becomes false from now on.
virtual bool isok() const
return true if the stream is actually usable right now
the data structure used by pre_select()/post_select() and internally by select().
virtual size_t uwrite(const void *buf, size_t size)
unbuffered I/O functions; these ignore the buffer, which is handled by write().
virtual bool post_select(SelectInfo &si)
post_select() is called after ::select(), and returns true if this object is now ready.
virtual size_t uread(void *buf, size_t size)
unbuffered I/O functions; these ignore the buffer, which is handled by read().
virtual void pre_select(SelectInfo &si)
pre_select() sets up for eventually calling ::select().