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"; }
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
Base class for streams built on Unix file descriptors.
WvFile implements a stream connected to a file or Unix device.
WvFile(int rwfd)
Create a WvFile from an existing fd.
virtual bool post_select(SelectInfo &si)
post_select() is called after select(), and returns true if this object is now ready.
WvFile()
Create an empty WvFile that you'll open later with open()
virtual void pre_select(SelectInfo &si)
pre_select() sets up for eventually calling select().
WvFile(WvStringParm filename, int mode, int create_mode=0666)
Create a WvFile given options like open()
the data structure used by pre_select()/post_select() and internally by select().