File tree Expand file tree Collapse file tree 4 files changed +2
-3
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 4 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1405,7 +1405,6 @@ extern "C" {
1405
1405
pub fn reallocarray ( ptr : * mut :: c_void , nmemb : :: size_t , size : :: size_t ) -> * mut :: c_void ;
1406
1406
1407
1407
pub fn ctermid ( s : * mut :: c_char ) -> * mut :: c_char ;
1408
- pub fn ioctl ( fd : :: c_int , request : :: c_ulong , ...) -> :: c_int ;
1409
1408
pub fn backtrace ( buf : * mut * mut :: c_void , sz : :: c_int ) -> :: c_int ;
1410
1409
pub fn glob64 (
1411
1410
pattern : * const :: c_char ,
Original file line number Diff line number Diff line change @@ -5635,6 +5635,8 @@ extern "C" {
5635
5635
) -> :: ssize_t ;
5636
5636
5637
5637
pub fn klogctl ( syslog_type : :: c_int , bufp : * mut :: c_char , len : :: c_int ) -> :: c_int ;
5638
+
5639
+ pub fn ioctl ( fd : :: c_int , request : :: Ioctl , ...) -> :: c_int ;
5638
5640
}
5639
5641
5640
5642
// LFS64 extensions
Original file line number Diff line number Diff line change @@ -853,7 +853,6 @@ extern "C" {
853
853
new_limit : * const :: rlimit ,
854
854
old_limit : * mut :: rlimit ,
855
855
) -> :: c_int ;
856
- pub fn ioctl ( fd : :: c_int , request : :: c_int , ...) -> :: c_int ;
857
856
pub fn gettimeofday ( tp : * mut :: timeval , tz : * mut :: c_void ) -> :: c_int ;
858
857
pub fn ptrace ( request : :: c_int , ...) -> :: c_long ;
859
858
pub fn getpriority ( which : :: c_int , who : :: id_t ) -> :: c_int ;
Original file line number Diff line number Diff line change @@ -353,7 +353,6 @@ pub const UDP_SEGMENT: ::c_int = 103;
353
353
pub const YESEXPR : :: c_int = ( ( 5 ) << 8 ) | ( 0 ) ;
354
354
355
355
extern "C" {
356
- pub fn ioctl ( fd : :: c_int , request : :: c_ulong , ...) -> :: c_int ;
357
356
pub fn gettimeofday ( tp : * mut :: timeval , tz : * mut :: timezone ) -> :: c_int ;
358
357
359
358
pub fn pthread_rwlockattr_getkind_np (
You can’t perform that action at this time.
0 commit comments