File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ pub const F_OFD_SETLKW: ::c_int = 49;
4242pub const F_FLOCK : :: c_int = 53 ;
4343pub const F_FLOCKW : :: c_int = 54 ;
4444
45+ pub const F_DUPFD_CLOEXEC : :: c_int = 37 ;
46+ pub const F_DUP2FD_CLOEXEC : :: c_int = 36 ;
47+
4548pub const FIL_ATTACH : :: c_int = 0x1 ;
4649pub const FIL_DETACH : :: c_int = 0x2 ;
4750pub const FIL_LIST : :: c_int = 0x3 ;
Original file line number Diff line number Diff line change @@ -1327,7 +1327,6 @@ pub const F_LOCK: ::c_int = 1;
13271327pub const F_TEST : :: c_int = 3 ;
13281328pub const F_TLOCK : :: c_int = 2 ;
13291329pub const F_ULOCK : :: c_int = 0 ;
1330- pub const F_DUPFD_CLOEXEC : :: c_int = 37 ;
13311330pub const F_SETLK : :: c_int = 6 ;
13321331pub const F_SETLKW : :: c_int = 7 ;
13331332pub const F_GETLK : :: c_int = 14 ;
@@ -1601,7 +1600,6 @@ pub const NI_NUMERICSCOPE: ::c_uint = 0x0040;
16011600
16021601pub const F_DUPFD : :: c_int = 0 ;
16031602pub const F_DUP2FD : :: c_int = 9 ;
1604- pub const F_DUP2FD_CLOEXEC : :: c_int = 36 ;
16051603pub const F_GETFD : :: c_int = 1 ;
16061604pub const F_SETFD : :: c_int = 2 ;
16071605pub const F_GETFL : :: c_int = 3 ;
Original file line number Diff line number Diff line change @@ -36,6 +36,11 @@ pub const TCP_KEEPIDLE: ::c_int = 0x1d;
3636pub const TCP_KEEPCNT : :: c_int = 0x1e ;
3737pub const TCP_KEEPINTVL : :: c_int = 0x1f ;
3838
39+ pub const F_DUPFD_CLOEXEC : :: c_int = 47 ;
40+ pub const F_DUPFD_CLOFORK : :: c_int = 49 ;
41+ pub const F_DUP2FD_CLOEXEC : :: c_int = 48 ;
42+ pub const F_DUP2FD_CLOFORK : :: c_int = 50 ;
43+
3944extern "C" {
4045 pub fn fexecve (
4146 fd : :: c_int ,
You can’t perform that action at this time.
0 commit comments