Add missing open options.
@@ -189,6 +189,14 @@ pkg sys =
const Otrunc : fdopt = 0x400
const Odir : fdopt = 0x20000
+ const Oshlock : fdopt = 0x0010 /* open with shared file lock */
+ const Oexlock : fdopt = 0x0020 /* open with exclusive file lock */
+ const Oasync : fdopt = 0x0040 /* signal pgrp when data ready */
+ const Ofsync : fdopt = 0x0080 /* synchronous writes */
+ const Oexcl : fdopt = 0x0800 /* error if already exists */
+ const Ocloexec : fdopt = 0x00100000
+
+
/* stat modes */
const Sifmt : filemode = 0xf000
const Sififo : filemode = 0x1000
