File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -3147,18 +3147,7 @@ extern "C" {
3147
3147
pub fn sysinfo ( command : :: c_int , buf : * mut :: c_char , count : :: c_long ) -> :: c_int ;
3148
3148
3149
3149
pub fn faccessat ( fd : :: c_int , path : * const :: c_char , amode : :: c_int , flag : :: c_int ) -> :: c_int ;
3150
- }
3151
3150
3152
- #[ link( name = "sendfile" ) ]
3153
- extern "C" {
3154
- pub fn sendfile ( out_fd : :: c_int , in_fd : :: c_int , off : * mut :: off_t , len : :: size_t )
3155
- -> :: ssize_t ;
3156
- pub fn sendfilev (
3157
- fildes : :: c_int ,
3158
- vec : * const sendfilevec_t ,
3159
- sfvcnt : :: c_int ,
3160
- xferred : * mut :: size_t ,
3161
- ) -> :: ssize_t ;
3162
3151
// #include <link.h>
3163
3152
#[ cfg( any( target_arch = "x86" , target_arch = "x86_64" ) ) ]
3164
3153
pub fn dl_iterate_phdr (
@@ -3205,6 +3194,18 @@ extern "C" {
3205
3194
pub fn backtrace_symbols_fd ( buffer : * const * mut :: c_void , size : :: c_int , fd : :: c_int ) ;
3206
3195
}
3207
3196
3197
+ #[ link( name = "sendfile" ) ]
3198
+ extern "C" {
3199
+ pub fn sendfile ( out_fd : :: c_int , in_fd : :: c_int , off : * mut :: off_t , len : :: size_t )
3200
+ -> :: ssize_t ;
3201
+ pub fn sendfilev (
3202
+ fildes : :: c_int ,
3203
+ vec : * const sendfilevec_t ,
3204
+ sfvcnt : :: c_int ,
3205
+ xferred : * mut :: size_t ,
3206
+ ) -> :: ssize_t ;
3207
+ }
3208
+
3208
3209
#[ link( name = "lgrp" ) ]
3209
3210
extern "C" {
3210
3211
pub fn lgrp_init ( view : lgrp_view_t ) -> lgrp_cookie_t ;
You can’t perform that action at this time.
0 commit comments