File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,8 @@ pub const L_tmpnam: ::c_uint = 1024;
273
273
pub const TMP_MAX : :: c_uint = 308915776 ;
274
274
275
275
pub const O_NOCTTY : :: c_int = 32768 ;
276
+ pub const O_DIRECT : :: c_int = 0x00010000 ;
277
+
276
278
pub const S_IFIFO : mode_t = 4096 ;
277
279
pub const S_IFCHR : mode_t = 8192 ;
278
280
pub const S_IFBLK : mode_t = 24576 ;
Original file line number Diff line number Diff line change @@ -271,6 +271,7 @@ pub const O_ALT_IO: ::c_int = 0x40000;
271
271
pub const O_NOSIGPIPE : :: c_int = 0x1000000 ;
272
272
pub const O_SEARCH : :: c_int = 0x800000 ;
273
273
pub const O_DIRECTORY : :: c_int = 0x200000 ;
274
+ pub const O_DIRECT : :: c_int = 0x00080000 ;
274
275
275
276
pub const MS_SYNC : :: c_int = 0x4 ;
276
277
pub const MS_INVALIDATE : :: c_int = 0x2 ;
You can’t perform that action at this time.
0 commit comments