Skip to content

Commit d21380b

Browse files
authored
Merge pull request #1881 from JohnColanduoni/apple-o-symlink
Add support for Apple's O_SYMLINK flag
2 parents f19436d + abd1848 commit d21380b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,7 @@ pub const O_DSYNC: ::c_int = 0x400000;
14061406
pub const O_NOCTTY: ::c_int = 0x20000;
14071407
pub const O_CLOEXEC: ::c_int = 0x1000000;
14081408
pub const O_DIRECTORY: ::c_int = 0x100000;
1409+
pub const O_SYMLINK: ::c_int = 0x200000;
14091410
pub const S_IFIFO: mode_t = 4096;
14101411
pub const S_IFCHR: mode_t = 8192;
14111412
pub const S_IFBLK: mode_t = 24576;

0 commit comments

Comments
 (0)