@@ -215,7 +215,6 @@ pub const ENOTRECOVERABLE: ::c_int = 127;
215215pub const ENOTSOCK : :: c_int = 128 ;
216216pub const ENOTSUP : :: c_int = 129 ;
217217pub const EOPNOTSUPP : :: c_int = 130 ;
218- pub const EOTHER : :: c_int = 131 ;
219218pub const EOVERFLOW : :: c_int = 132 ;
220219pub const EOWNERDEAD : :: c_int = 133 ;
221220pub const EPROTO : :: c_int = 134 ;
@@ -378,8 +377,6 @@ extern "C" {
378377 n : size_t ,
379378 ) -> :: size_t ;
380379
381- pub fn time ( destTime : * mut time_t ) -> time_t ;
382-
383380 pub fn memchr ( cx : * const c_void , c : c_int , n : size_t ) -> * mut c_void ;
384381 pub fn memcmp ( cx : * const c_void , ct : * const c_void , n : size_t ) -> c_int ;
385382 pub fn memcpy (
@@ -403,6 +400,8 @@ extern "C" {
403400 pub fn signal ( signum : c_int , handler : sighandler_t ) -> sighandler_t ;
404401 pub fn raise ( signum : c_int ) -> c_int ;
405402
403+ #[ link_name = "_time64" ]
404+ pub fn time ( destTime : * mut time_t ) -> time_t ;
406405 #[ link_name = "_chmod" ]
407406 pub fn chmod ( path : * const c_char , mode : :: c_int ) -> :: c_int ;
408407 #[ link_name = "_wchmod" ]
@@ -471,8 +470,11 @@ extern "C" {
471470 #[ link_name = "_lseek" ]
472471 pub fn lseek ( fd : :: c_int , offset : c_long , origin : :: c_int ) -> c_long ;
473472 #[ 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 ;
476478 #[ link_name = "_pipe" ]
477479 pub fn pipe (
478480 fds : * mut :: c_int ,
0 commit comments