29 mode_t create_mode = 0666);
32 bool open(
WvStringParm filename,
int flags = O_TRUNC | O_CREAT,
33 mode_t create_mode = 0666);
37 bool chmod(mode_t mode);
39 bool chown(uid_t owner, gid_t
group);
42 const char *wstype()
const {
return "WvAtomicFile"; }
45 #endif // __WVATOMFILE_H A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
WvFile implements a stream connected to a file or Unix device.
WvAtomicFile implements a simple extension to wvfile to allow for atomic file creation.
void close()
Closes the file descriptors.
WvString is an implementation of a simple and efficient printable-string class.