system/FileDescriptor: add "mode" parameter to Open()
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
||||
return FileDescriptor(-1);
|
||||
}
|
||||
|
||||
bool Open(const char *pathname, int flags);
|
||||
bool Open(const char *pathname, int flags, mode_t mode=0666);
|
||||
bool OpenReadOnly(const char *pathname);
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
Reference in New Issue
Block a user