File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ pub const PTHREAD_STACK_MIN: ::size_t = 1024;
138
138
pub const SIGSTKSZ : :: size_t = 40960 ;
139
139
pub const MADV_INVAL : :: c_int = 10 ;
140
140
pub const O_CLOEXEC : :: c_int = 0x00020000 ;
141
+ pub const O_DIRECTORY : :: c_int = 0x08000000 ;
141
142
pub const F_GETLK : :: c_int = 7 ;
142
143
pub const F_SETLK : :: c_int = 8 ;
143
144
pub const F_SETLKW : :: c_int = 9 ;
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ pub const SF_NODISKIO: ::c_int = 0x00000001;
139
139
pub const SF_MNOWAIT : :: c_int = 0x00000002 ;
140
140
pub const SF_SYNC : :: c_int = 0x00000004 ;
141
141
pub const O_CLOEXEC : :: c_int = 0x00100000 ;
142
+ pub const O_DIRECTORY : :: c_int = 0x00020000 ;
142
143
pub const F_GETLK : :: c_int = 11 ;
143
144
pub const F_SETLK : :: c_int = 12 ;
144
145
pub const F_SETLKW : :: c_int = 13 ;
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ pub const UT_LINESIZE: usize = 8;
140
140
pub const UT_HOSTSIZE : usize = 256 ;
141
141
142
142
pub const O_CLOEXEC : :: c_int = 0x10000 ;
143
+ pub const O_DIRECTORY : :: c_int = 0x20000 ;
143
144
144
145
pub const MS_SYNC : :: c_int = 0x0002 ;
145
146
pub const MS_INVALIDATE : :: c_int = 0x0004 ;
You can’t perform that action at this time.
0 commit comments