@@ -215,7 +215,6 @@ pub const ENOTRECOVERABLE: ::c_int = 127;
215
215
pub const ENOTSOCK : :: c_int = 128 ;
216
216
pub const ENOTSUP : :: c_int = 129 ;
217
217
pub const EOPNOTSUPP : :: c_int = 130 ;
218
- pub const EOTHER : :: c_int = 131 ;
219
218
pub const EOVERFLOW : :: c_int = 132 ;
220
219
pub const EOWNERDEAD : :: c_int = 133 ;
221
220
pub const EPROTO : :: c_int = 134 ;
@@ -378,8 +377,6 @@ extern "C" {
378
377
n : size_t ,
379
378
) -> :: size_t ;
380
379
381
- pub fn time ( destTime : * mut time_t ) -> time_t ;
382
-
383
380
pub fn memchr ( cx : * const c_void , c : c_int , n : size_t ) -> * mut c_void ;
384
381
pub fn memcmp ( cx : * const c_void , ct : * const c_void , n : size_t ) -> c_int ;
385
382
pub fn memcpy (
@@ -403,6 +400,8 @@ extern "C" {
403
400
pub fn signal ( signum : c_int , handler : sighandler_t ) -> sighandler_t ;
404
401
pub fn raise ( signum : c_int ) -> c_int ;
405
402
403
+ #[ link_name = "_time64" ]
404
+ pub fn time ( destTime : * mut time_t ) -> time_t ;
406
405
#[ link_name = "_chmod" ]
407
406
pub fn chmod ( path : * const c_char , mode : :: c_int ) -> :: c_int ;
408
407
#[ link_name = "_wchmod" ]
@@ -471,8 +470,11 @@ extern "C" {
471
470
#[ link_name = "_lseek" ]
472
471
pub fn lseek ( fd : :: c_int , offset : c_long , origin : :: c_int ) -> c_long ;
473
472
#[ link_name = "_lseeki64" ]
474
- pub fn lseek64 ( fd : :: c_int , offset : c_longlong , origin : :: c_int )
475
- -> c_longlong ;
473
+ pub fn lseek64 (
474
+ fd : :: c_int ,
475
+ offset : c_longlong ,
476
+ origin : :: c_int ,
477
+ ) -> c_longlong ;
476
478
#[ link_name = "_pipe" ]
477
479
pub fn pipe (
478
480
fds : * mut :: c_int ,
0 commit comments