File tree Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Expand file tree Collapse file tree 3 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -64,3 +64,4 @@ pub const PTHREAD_STACK_MIN: ::size_t = 1024;
64
64
pub const KERN_PROC_PATHNAME : :: c_int = 9 ;
65
65
pub const SIGSTKSZ : :: size_t = 40960 ;
66
66
pub const MADV_INVAL : :: c_int = 10 ;
67
+ pub const O_CLOEXEC : :: c_int = 0x00020000 ;
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ pub const SIGSTKSZ: ::size_t = 34816;
49
49
pub const SF_NODISKIO : :: c_int = 0x00000001 ;
50
50
pub const SF_MNOWAIT : :: c_int = 0x00000002 ;
51
51
pub const SF_SYNC : :: c_int = 0x00000004 ;
52
+ pub const O_CLOEXEC : :: c_int = 0x00100000 ;
52
53
53
54
extern {
54
55
pub fn __error ( ) -> * mut :: c_int ;
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ pub const O_CREAT: ::c_int = 512;
147
147
pub const O_EXCL : :: c_int = 2048 ;
148
148
pub const O_NOCTTY : :: c_int = 32768 ;
149
149
pub const O_TRUNC : :: c_int = 1024 ;
150
- pub const O_CLOEXEC : :: c_int = 0x00100000 ;
151
150
pub const S_IFIFO : mode_t = 4096 ;
152
151
pub const S_IFCHR : mode_t = 8192 ;
153
152
pub const S_IFBLK : mode_t = 24576 ;
You can’t perform that action at this time.
0 commit comments