File tree Expand file tree Collapse file tree 4 files changed +2
-3
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 4 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2238,4 +2238,4 @@ eaccess
2238
2238
dirname
2239
2239
basename
2240
2240
closefrom
2241
- close_from
2241
+ close_range
Original file line number Diff line number Diff line change @@ -522,7 +522,6 @@ extern "C" {
522
522
523
523
pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
524
524
pub fn basename ( path : * mut :: c_char ) -> * mut :: c_char ;
525
- pub fn close_range ( lowfd : :: c_uint , highfd : :: c_uint , flags : :: c_int ) -> :: c_int ;
526
525
}
527
526
528
527
#[ link( name = "kvm" ) ]
Original file line number Diff line number Diff line change @@ -522,7 +522,6 @@ extern "C" {
522
522
523
523
pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
524
524
pub fn basename ( path : * mut :: c_char ) -> * mut :: c_char ;
525
- pub fn close_range ( lowfd : :: c_uint , highfd : :: c_uint , flags : :: c_int ) -> :: c_int ;
526
525
}
527
526
528
527
#[ link( name = "kvm" ) ]
Original file line number Diff line number Diff line change @@ -5423,6 +5423,7 @@ extern "C" {
5423
5423
old_value : * mut itimerspec ,
5424
5424
) -> :: c_int ;
5425
5425
pub fn closefrom ( lowfd : :: c_int ) ;
5426
+ pub fn close_range ( lowfd : :: c_uint , highfd : :: c_uint , flags : :: c_int ) -> :: c_int ;
5426
5427
}
5427
5428
5428
5429
#[ link( name = "memstat" ) ]
You can’t perform that action at this time.
0 commit comments