next up previous contents
Next: Opening and closing cyclic Up: The C++ API Previous: The C++ API   Contents

Creating a cyclic log

static int create(const std::string& filename, long fileSize);
Create cyclic logfile with size specified in bytes. Zero is returned on success, otherwise -1 is returned and errno is set.



Andrew Marlow 2004-01-01