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 @@ -1396,7 +1396,6 @@ extern "C" {
1396
1396
pub fn reallocarray ( ptr : * mut :: c_void , nmemb : :: size_t , size : :: size_t ) -> * mut :: c_void ;
1397
1397
1398
1398
pub fn ctermid ( s : * mut :: c_char ) -> * mut :: c_char ;
1399
- pub fn ioctl ( fd : :: c_int , request : :: c_ulong , ...) -> :: c_int ;
1400
1399
pub fn backtrace ( buf : * mut * mut :: c_void , sz : :: c_int ) -> :: c_int ;
1401
1400
pub fn glob64 (
1402
1401
pattern : * const :: c_char ,
Original file line number Diff line number Diff line change @@ -6125,6 +6125,8 @@ extern "C" {
6125
6125
) -> :: ssize_t ;
6126
6126
6127
6127
pub fn klogctl ( syslog_type : :: c_int , bufp : * mut :: c_char , len : :: c_int ) -> :: c_int ;
6128
+
6129
+ pub fn ioctl ( fd : :: c_int , request : :: Ioctl , ...) -> :: c_int ;
6128
6130
}
6129
6131
6130
6132
// LFS64 extensions
Original file line number Diff line number Diff line change @@ -843,7 +843,6 @@ extern "C" {
843
843
new_limit : * const :: rlimit ,
844
844
old_limit : * mut :: rlimit ,
845
845
) -> :: c_int ;
846
- pub fn ioctl ( fd : :: c_int , request : :: c_int , ...) -> :: c_int ;
847
846
pub fn gettimeofday ( tp : * mut :: timeval , tz : * mut :: c_void ) -> :: c_int ;
848
847
pub fn ptrace ( request : :: c_int , ...) -> :: c_long ;
849
848
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