21 #ifndef INCLUDE_OLA_IO_IOUTILS_H_
22 #define INCLUDE_OLA_IO_IOUTILS_H_
40 bool Open(
const std::string &path,
int oflag,
int *fd);
52 bool TryOpen(
const std::string &path,
int oflag,
int *fd);
63 #endif // INCLUDE_OLA_IO_IOUTILS_H_
bool Open(const string &path, int oflag, int *fd)
Wrapper around open().
Definition: IOUtils.cpp:36
bool TryOpen(const string &path, int oflag, int *fd)
Wrapper around open().
Definition: IOUtils.cpp:45
bool FileExists(const std::string &file_name)
Check if a file exists using stat().
Definition: IOUtils.cpp:53
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44