@@ -6121,7 +6121,7 @@ pub mod funcs {
61216121 use types:: os:: arch:: c95:: { c_char, c_uchar, c_int, c_uint, c_ulong, size_t} ;
61226122
61236123 extern {
6124- pub fn ioctl ( d : c_int , request : c_ulong , ...) -> c_int ;
6124+ pub fn ioctl ( fd : c_int , request : c_ulong , ...) -> c_int ;
61256125 pub fn sysctl ( name : * mut c_int ,
61266126 namelen : c_uint ,
61276127 oldp : * mut c_void ,
@@ -6153,12 +6153,12 @@ pub mod funcs {
61536153 #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
61546154 pub mod bsd44 {
61556155 use types:: common:: c95:: { c_void} ;
6156- use types:: os:: arch:: c95:: { c_uchar, c_int, size_t} ;
6156+ use types:: os:: arch:: c95:: { c_uchar, c_int, c_ulong , size_t} ;
61576157
61586158 extern {
61596159 #[ cfg( not( all( target_os = "android" , target_arch = "aarch64" ) ) ) ]
61606160 pub fn getdtablesize ( ) -> c_int ;
6161- pub fn ioctl ( d : c_int , request : c_int , ...) -> c_int ;
6161+ pub fn ioctl ( fd : c_int , request : c_ulong , ...) -> c_int ;
61626162 pub fn madvise ( addr : * mut c_void , len : size_t , advice : c_int )
61636163 -> c_int ;
61646164 pub fn mincore ( addr : * mut c_void , len : size_t , vec : * mut c_uchar )
0 commit comments