summaryrefslogtreecommitdiff
path: root/lib/sys
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-05-18 11:25:13 -0700
committerOri Bernstein <ori@markovcorp.com>2017-05-18 11:25:13 -0700
commitcde6c5f1152664a737ad8fd963ae2d354a07a99e (patch)
tree9041cf5bc411c747c62b5e8adeee0b9167823bc4 /lib/sys
parent46d314b6a9301cf48b66a9e1a6db16a1a0f22fce (diff)
downloadmc-cde6c5f1152664a737ad8fd963ae2d354a07a99e.tar.gz
Add Ocexec.
It's useful.
Diffstat (limited to 'lib/sys')
-rw-r--r--lib/sys/sys+osx-x64.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sys/sys+osx-x64.myr b/lib/sys/sys+osx-x64.myr
index d9b09a8..4c98708 100644
--- a/lib/sys/sys+osx-x64.myr
+++ b/lib/sys/sys+osx-x64.myr
@@ -241,6 +241,8 @@ pkg sys =
const Onofollow : fdopt = 0x100
const Otrunc : fdopt = 0x400
const Odir : fdopt = 0x100000
+ const Ocloexec : fdopt = 0x1000000
+
/* stat modes */
const Sifmt : filemode = 0xf000