diff options
author | John Colanduoni <john@colanduoni.com> | 2020-08-29 19:41:16 -0700 |
---|---|---|
committer | John Colanduoni <john@colanduoni.com> | 2020-08-29 19:41:16 -0700 |
commit | abd18481b7be650c3e059c896348a9db78c851f2 (patch) | |
tree | 5ca5de4f8e9d2918c028fb9ac4cc6f3b77900cbf | |
parent | eb079df8827132a7e161d67ac94282bcba62d6f6 (diff) | |
download | rust-libc-abd18481b7be650c3e059c896348a9db78c851f2.tar.gz |
Add support for Apple's O_SYMLINK flag
-rw-r--r-- | src/unix/bsd/apple/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index 857a2badee..b6984ecd4c 100644 --- a/src/unix/bsd/apple/mod.rs +++ b/src/unix/bsd/apple/mod.rs @@ -1406,6 +1406,7 @@ pub const O_DSYNC: ::c_int = 0x400000; pub const O_NOCTTY: ::c_int = 0x20000; pub const O_CLOEXEC: ::c_int = 0x1000000; pub const O_DIRECTORY: ::c_int = 0x100000; +pub const O_SYMLINK: ::c_int = 0x200000; pub const S_IFIFO: mode_t = 4096; pub const S_IFCHR: mode_t = 8192; pub const S_IFBLK: mode_t = 24576; |