File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1056,6 +1056,8 @@ extern {
1056
1056
1057
1057
pub fn statfs ( path : * const :: c_char , buf : * mut statfs ) -> :: c_int ;
1058
1058
pub fn fstatfs ( fd : :: c_int , buf : * mut statfs ) -> :: c_int ;
1059
+
1060
+ pub fn dup3 ( src : :: c_int , dst : :: c_int , flags : :: c_int ) -> :: c_int ;
1059
1061
}
1060
1062
1061
1063
cfg_if ! {
Original file line number Diff line number Diff line change @@ -1106,6 +1106,8 @@ extern {
1106
1106
base : :: locale_t ) -> :: locale_t ;
1107
1107
#[ link_name = "__settimeofday50" ]
1108
1108
pub fn settimeofday ( tv : * const :: timeval , tz : * const :: c_void ) -> :: c_int ;
1109
+
1110
+ pub fn dup3 ( src : :: c_int , dst : :: c_int , flags : :: c_int ) -> :: c_int ;
1109
1111
}
1110
1112
1111
1113
#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -263,6 +263,8 @@ extern {
263
263
264
264
pub fn statfs ( path : * const :: c_char , buf : * mut statfs ) -> :: c_int ;
265
265
pub fn fstatfs ( fd : :: c_int , buf : * mut statfs ) -> :: c_int ;
266
+
267
+ pub fn dup3 ( src : :: c_int , dst : :: c_int , flags : :: c_int ) -> :: c_int ;
266
268
}
267
269
268
270
cfg_if ! {
Original file line number Diff line number Diff line change @@ -1458,4 +1458,6 @@ extern {
1458
1458
pub fn getgrgid ( gid : :: gid_t ) -> * mut :: group ;
1459
1459
pub fn popen ( command : * const c_char ,
1460
1460
mode : * const c_char ) -> * mut :: FILE ;
1461
+
1462
+ pub fn dup3 ( src : :: c_int , dst : :: c_int , flags : :: c_int ) -> :: c_int ;
1461
1463
}
You can’t perform that action at this time.
0 commit comments