Created
February 25, 2018 17:11
-
-
Save jfo/402fae36c414b9fb53fd4be149431201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/std/os/darwin.zig b/std/os/darwin.zig | |
index ebc6f65f..ca4746d8 100644 | |
--- a/std/os/darwin.zig | |
+++ b/std/os/darwin.zig | |
@@ -55,6 +55,7 @@ pub const O_NOFOLLOW = 0x0100; /// do not follow symlinks | |
pub const O_SYMLINK = 0x200000; /// allow open of symlinks | |
pub const O_EVTONLY = 0x8000; /// descriptor requested for event notifications only | |
pub const O_CLOEXEC = 0x1000000; /// mark as close-on-exec | |
+pub const O_DIRECTORY = 0x100000; /// only open directory | |
pub const SEEK_SET = 0x0; | |
pub const SEEK_CUR = 0x1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment