10 #include "wvfdstream.h"
39 bool open(
WvStringParm filename,
int mode,
int create_mode = 0666);
42 bool readable, writable;
48 const char *wstype()
const {
return "WvFile"; }
WvFile implements a stream connected to a file or Unix device.
WvFile()
Create an empty WvFile that you'll open later with open()
the data structure used by pre_select()/post_select() and internally by select().
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.
Base class for streams built on Unix file descriptors.
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...