28 WvAtomicFile(WvStringParm filename,
int flags = O_TRUNC | O_CREAT,
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"; }
WvAtomicFile implements a simple extension to wvfile to allow for atomic file creation.
void close()
Closes the file descriptors.
WvFile implements a stream connected to a file or Unix device.