Skip to content

Commit 6873e2f

Browse files
committed
Add O_DIRECTORY to solarish
1 parent b035574 commit 6873e2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/solarish/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ pub const O_EXCL: ::c_int = 1024;
994994
pub const O_NOCTTY: ::c_int = 2048;
995995
pub const O_TRUNC: ::c_int = 512;
996996
pub const O_NOFOLLOW: ::c_int = 0x20000;
997+
pub const O_DIRECTORY: ::c_int = 0x1000000;
997998
pub const O_SEARCH: ::c_int = 0x200000;
998999
pub const O_EXEC: ::c_int = 0x400000;
9991000
pub const O_CLOEXEC: ::c_int = 0x800000;

0 commit comments

Comments
 (0)