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;
42
42
pub const F_FLOCK : :: c_int = 53 ;
43
43
pub const F_FLOCKW : :: c_int = 54 ;
44
44
45
+ pub const F_DUPFD_CLOEXEC : :: c_int = 37 ;
46
+ pub const F_DUP2FD_CLOEXEC : :: c_int = 36 ;
47
+
45
48
pub const FIL_ATTACH : :: c_int = 0x1 ;
46
49
pub const FIL_DETACH : :: c_int = 0x2 ;
47
50
pub 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;
1327
1327
pub const F_TEST : :: c_int = 3 ;
1328
1328
pub const F_TLOCK : :: c_int = 2 ;
1329
1329
pub const F_ULOCK : :: c_int = 0 ;
1330
- pub const F_DUPFD_CLOEXEC : :: c_int = 37 ;
1331
1330
pub const F_SETLK : :: c_int = 6 ;
1332
1331
pub const F_SETLKW : :: c_int = 7 ;
1333
1332
pub const F_GETLK : :: c_int = 14 ;
@@ -1601,7 +1600,6 @@ pub const NI_NUMERICSCOPE: ::c_uint = 0x0040;
1601
1600
1602
1601
pub const F_DUPFD : :: c_int = 0 ;
1603
1602
pub const F_DUP2FD : :: c_int = 9 ;
1604
- pub const F_DUP2FD_CLOEXEC : :: c_int = 36 ;
1605
1603
pub const F_GETFD : :: c_int = 1 ;
1606
1604
pub const F_SETFD : :: c_int = 2 ;
1607
1605
pub 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;
36
36
pub const TCP_KEEPCNT : :: c_int = 0x1e ;
37
37
pub const TCP_KEEPINTVL : :: c_int = 0x1f ;
38
38
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
+
39
44
extern "C" {
40
45
pub fn fexecve (
41
46
fd : :: c_int ,
You can’t perform that action at this time.
0 commit comments