27 #include "precompiled.h"
43 oflag |= O_CREAT|O_TRUNC;
47 const int fd =
wopen(pathname, oflag, mode);
Status FileOpen(const OsPath &pathname, int oflag)
#define ENSURE(expr)
ensure the expression <expr> evaluates to non-zero.
i64 Status
Error handling system.
#define STATUS_ADD_DEFINITIONS(definitions)
add a module's array of StatusDefinition to the list.
const Status FILE_NOT_FOUND
int wopen(const OsPath &pathname, int oflag)
static const StatusDefinition fileStatusDefinitions[]