File tree Expand file tree Collapse file tree 4 files changed +5
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2237,3 +2237,5 @@ xucred
22372237eaccess
22382238dirname
22392239basename
2240+ closefrom
2241+ close_from
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ extern "C" {
522522
523523 pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
524524 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 ;
525526}
526527
527528#[ link( name = "kvm" ) ]
Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ extern "C" {
522522
523523 pub fn dirname ( path : * mut :: c_char ) -> * mut :: c_char ;
524524 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 ;
525526}
526527
527528#[ link( name = "kvm" ) ]
Original file line number Diff line number Diff line change @@ -5422,6 +5422,7 @@ extern "C" {
54225422 new_value : * const itimerspec ,
54235423 old_value : * mut itimerspec ,
54245424 ) -> :: c_int ;
5425+ pub fn closefrom ( lowfd : :: c_int ) ;
54255426}
54265427
54275428#[ link( name = "memstat" ) ]
You can’t perform that action at this time.
0 commit comments