open p_mode now also supported on UNIX

This commit is contained in:
2021-12-31 10:41:39 +08:00
parent 1f6f0acf05
commit 027f22abd3
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ namespace fileop {
* @param fd file descriptor. -1 if error occured.
* @param oflag The kind of operations allowed.
* @param shflag The kind of sharing allowed. (Windows Only)
* @param pmode Permission mode. (Windows Only)
* @param pmode Permission mode.
* @return errno
*/
int open(std::string fn, int& fd, int oflag, int shflag = 0x10, int pmode = 0);