rustfmt
This commit is contained in:
+13
-12
@@ -15,10 +15,12 @@ pub extern "C" fn aio_write(__aiocbp: *mut aiocb) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn lio_listio(__mode: libc::c_int,
|
||||
__list: *const *const aiocb,
|
||||
__nent: libc::c_int, __sig: *mut sigevent)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn lio_listio(
|
||||
__mode: libc::c_int,
|
||||
__list: *const *const aiocb,
|
||||
__nent: libc::c_int,
|
||||
__sig: *mut sigevent,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -30,19 +32,18 @@ pub extern "C" fn aio_return(__aiocbp: *mut aiocb) -> __ssize_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn aio_cancel(__fildes: libc::c_int, __aiocbp: *mut aiocb)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn aio_cancel(__fildes: libc::c_int, __aiocbp: *mut aiocb) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn aio_suspend(__list: *const *const aiocb,
|
||||
__nent: libc::c_int,
|
||||
__timeout: *const timespec) -> libc::c_int {
|
||||
pub extern "C" fn aio_suspend(
|
||||
__list: *const *const aiocb,
|
||||
__nent: libc::c_int,
|
||||
__timeout: *const timespec,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn aio_fsync(__operation: libc::c_int, __aiocbp: *mut aiocb)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn aio_fsync(__operation: libc::c_int, __aiocbp: *mut aiocb) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
@@ -59,4 +59,3 @@ pub extern "C" fn tolower(arg1: libc::c_int) -> libc::c_int {
|
||||
pub extern "C" fn toupper(arg1: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
+17
-8
@@ -8,7 +8,9 @@ pub struct group {
|
||||
pub gr_mem: *mut *mut libc::c_char,
|
||||
}
|
||||
impl Clone for group {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub extern "C" fn getgrgid(arg1: gid_t) -> *mut group {
|
||||
unimplemented!();
|
||||
@@ -18,15 +20,23 @@ pub extern "C" fn getgrnam(arg1: *const libc::c_char) -> *mut group {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getgrgid_r(arg1: gid_t, arg2: *mut group,
|
||||
arg3: *mut libc::c_char, arg4: usize,
|
||||
arg5: *mut *mut group) -> libc::c_int {
|
||||
pub extern "C" fn getgrgid_r(
|
||||
arg1: gid_t,
|
||||
arg2: *mut group,
|
||||
arg3: *mut libc::c_char,
|
||||
arg4: usize,
|
||||
arg5: *mut *mut group,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getgrnam_r(arg1: *const libc::c_char, arg2: *mut group,
|
||||
arg3: *mut libc::c_char, arg4: usize,
|
||||
arg5: *mut *mut group) -> libc::c_int {
|
||||
pub extern "C" fn getgrnam_r(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *mut group,
|
||||
arg3: *mut libc::c_char,
|
||||
arg4: usize,
|
||||
arg5: *mut *mut group,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -41,4 +51,3 @@ pub extern "C" fn endgrent() {
|
||||
pub extern "C" fn setgrent() {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
+19
-20
@@ -1,5 +1,4 @@
|
||||
pub extern "C" fn mlock(arg1: *const libc::c_void, arg2: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn mlock(arg1: *const libc::c_void, arg2: usize) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -7,25 +6,26 @@ pub extern "C" fn mlockall(arg1: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mmap(arg1: *mut libc::c_void, arg2: usize,
|
||||
arg3: libc::c_int, arg4: libc::c_int,
|
||||
arg5: libc::c_int, arg6: off_t)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn mmap(
|
||||
arg1: *mut libc::c_void,
|
||||
arg2: usize,
|
||||
arg3: libc::c_int,
|
||||
arg4: libc::c_int,
|
||||
arg5: libc::c_int,
|
||||
arg6: off_t,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mprotect(arg1: *mut libc::c_void, arg2: usize,
|
||||
arg3: libc::c_int) -> libc::c_int {
|
||||
pub extern "C" fn mprotect(arg1: *mut libc::c_void, arg2: usize, arg3: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn msync(arg1: *mut libc::c_void, arg2: usize,
|
||||
arg3: libc::c_int) -> libc::c_int {
|
||||
pub extern "C" fn msync(arg1: *mut libc::c_void, arg2: usize, arg3: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn munlock(arg1: *const libc::c_void, arg2: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn munlock(arg1: *const libc::c_void, arg2: usize) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -33,19 +33,18 @@ pub extern "C" fn munlockall() -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn munmap(arg1: *mut libc::c_void, arg2: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn munmap(arg1: *mut libc::c_void, arg2: usize) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn shm_open(arg1: *const libc::c_char,
|
||||
arg2: libc::c_int, arg3: mode_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn shm_open(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: libc::c_int,
|
||||
arg3: mode_t,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn shm_unlink(arg1: *const libc::c_char)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn shm_unlink(arg1: *const libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
+204
-194
@@ -1,104 +1,114 @@
|
||||
pub extern "C" fn pthread_attr_destroy(arg1: *mut pthread_attr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_destroy(arg1: *mut pthread_attr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getdetachstate(arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getdetachstate(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getguardsize(arg1: *const pthread_attr_t,
|
||||
arg2: *mut usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getguardsize(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut usize,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getinheritsched(arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getinheritsched(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getschedparam(arg1: *const pthread_attr_t,
|
||||
arg2: *mut sched_param)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getschedparam(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut sched_param,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getschedpolicy(arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getschedpolicy(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getscope(arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getscope(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getstackaddr(arg1: *const pthread_attr_t,
|
||||
arg2: *mut *mut libc::c_void)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getstackaddr(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut *mut libc::c_void,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_getstacksize(arg1: *const pthread_attr_t,
|
||||
arg2: *mut usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_getstacksize(
|
||||
arg1: *const pthread_attr_t,
|
||||
arg2: *mut usize,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_init(arg1: *mut pthread_attr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_init(arg1: *mut pthread_attr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setdetachstate(arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setdetachstate(
|
||||
arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setguardsize(arg1: *mut pthread_attr_t, arg2: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setguardsize(arg1: *mut pthread_attr_t, arg2: usize) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setinheritsched(arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setinheritsched(
|
||||
arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setschedparam(arg1: *mut pthread_attr_t,
|
||||
arg2: *mut sched_param)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setschedparam(
|
||||
arg1: *mut pthread_attr_t,
|
||||
arg2: *mut sched_param,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setschedpolicy(arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setschedpolicy(
|
||||
arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setscope(arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setscope(
|
||||
arg1: *mut pthread_attr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setstackaddr(arg1: *mut pthread_attr_t,
|
||||
arg2: *mut libc::c_void)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setstackaddr(
|
||||
arg1: *mut pthread_attr_t,
|
||||
arg2: *mut libc::c_void,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_attr_setstacksize(arg1: *mut pthread_attr_t, arg2: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_attr_setstacksize(arg1: *mut pthread_attr_t, arg2: usize) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -106,8 +116,7 @@ pub extern "C" fn pthread_cancel(arg1: pthread_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cleanup_push(arg1: *mut libc::c_void,
|
||||
arg2: *mut libc::c_void) {
|
||||
pub extern "C" fn pthread_cleanup_push(arg1: *mut libc::c_void, arg2: *mut libc::c_void) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -115,70 +124,68 @@ pub extern "C" fn pthread_cleanup_pop(arg1: libc::c_int) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cond_broadcast(arg1: *mut pthread_cond_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_cond_broadcast(arg1: *mut pthread_cond_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cond_destroy(arg1: *mut pthread_cond_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_cond_destroy(arg1: *mut pthread_cond_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cond_init(arg1: *mut pthread_cond_t,
|
||||
arg2: *const pthread_condattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_cond_init(
|
||||
arg1: *mut pthread_cond_t,
|
||||
arg2: *const pthread_condattr_t,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cond_signal(arg1: *mut pthread_cond_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_cond_signal(arg1: *mut pthread_cond_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cond_timedwait(arg1: *mut pthread_cond_t,
|
||||
arg2: *mut pthread_mutex_t,
|
||||
arg3: *const timespec)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_cond_timedwait(
|
||||
arg1: *mut pthread_cond_t,
|
||||
arg2: *mut pthread_mutex_t,
|
||||
arg3: *const timespec,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_cond_wait(arg1: *mut pthread_cond_t,
|
||||
arg2: *mut pthread_mutex_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_cond_wait(
|
||||
arg1: *mut pthread_cond_t,
|
||||
arg2: *mut pthread_mutex_t,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_condattr_destroy(arg1: *mut pthread_condattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_condattr_destroy(arg1: *mut pthread_condattr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_condattr_getpshared(arg1: *const pthread_condattr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_condattr_getpshared(
|
||||
arg1: *const pthread_condattr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_condattr_init(arg1: *mut pthread_condattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_condattr_init(arg1: *mut pthread_condattr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_condattr_setpshared(arg1: *mut pthread_condattr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_condattr_setpshared(
|
||||
arg1: *mut pthread_condattr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_create(arg1: *mut pthread_t, arg2: *const pthread_attr_t,
|
||||
arg3:
|
||||
::std::option::Option<unsafe extern "C" fn(arg1:
|
||||
*mut libc::c_void)
|
||||
->
|
||||
*mut libc::c_void>,
|
||||
arg4: *mut libc::c_void)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_create(
|
||||
arg1: *mut pthread_t,
|
||||
arg2: *const pthread_attr_t,
|
||||
arg3: ::std::option::Option<unsafe extern "C" fn(arg1: *mut libc::c_void) -> *mut libc::c_void>,
|
||||
arg4: *mut libc::c_void,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -186,8 +193,7 @@ pub extern "C" fn pthread_detach(arg1: pthread_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_equal(arg1: pthread_t, arg2: pthread_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_equal(arg1: pthread_t, arg2: pthread_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -199,29 +205,26 @@ pub extern "C" fn pthread_getconcurrency() -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_getschedparam(arg1: pthread_t,
|
||||
arg2: *mut libc::c_int,
|
||||
arg3: *mut sched_param)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_getschedparam(
|
||||
arg1: pthread_t,
|
||||
arg2: *mut libc::c_int,
|
||||
arg3: *mut sched_param,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_getspecific(arg1: pthread_key_t)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn pthread_getspecific(arg1: pthread_key_t) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_join(arg1: pthread_t,
|
||||
arg2: *mut *mut libc::c_void)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_join(arg1: pthread_t, arg2: *mut *mut libc::c_void) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_key_create(arg1: *mut pthread_key_t,
|
||||
arg2:
|
||||
::std::option::Option<unsafe extern "C" fn(arg1:
|
||||
*mut libc::c_void)>)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_key_create(
|
||||
arg1: *mut pthread_key_t,
|
||||
arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut libc::c_void)>,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -229,164 +232,165 @@ pub extern "C" fn pthread_key_delete(arg1: pthread_key_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_destroy(arg1: *mut pthread_mutex_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_destroy(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_getprioceiling(arg1: *const pthread_mutex_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_getprioceiling(
|
||||
arg1: *const pthread_mutex_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_init(arg1: *mut pthread_mutex_t,
|
||||
arg2: *const pthread_mutexattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_init(
|
||||
arg1: *mut pthread_mutex_t,
|
||||
arg2: *const pthread_mutexattr_t,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_lock(arg1: *mut pthread_mutex_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_lock(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_setprioceiling(arg1: *mut pthread_mutex_t,
|
||||
arg2: libc::c_int,
|
||||
arg3: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_setprioceiling(
|
||||
arg1: *mut pthread_mutex_t,
|
||||
arg2: libc::c_int,
|
||||
arg3: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_trylock(arg1: *mut pthread_mutex_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_trylock(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutex_unlock(arg1: *mut pthread_mutex_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutex_unlock(arg1: *mut pthread_mutex_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_destroy(arg1: *mut pthread_mutexattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_destroy(arg1: *mut pthread_mutexattr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_getprioceiling(arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_getprioceiling(
|
||||
arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_getprotocol(arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_getprotocol(
|
||||
arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_getpshared(arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_getpshared(
|
||||
arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_gettype(arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_gettype(
|
||||
arg1: *const pthread_mutexattr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_init(arg1: *mut pthread_mutexattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_init(arg1: *mut pthread_mutexattr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_setprioceiling(arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_setprioceiling(
|
||||
arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_setprotocol(arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_setprotocol(
|
||||
arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_setpshared(arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_setpshared(
|
||||
arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_mutexattr_settype(arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_mutexattr_settype(
|
||||
arg1: *mut pthread_mutexattr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_once(arg1: *mut pthread_once_t,
|
||||
arg2: ::std::option::Option<unsafe extern "C" fn()>)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_once(
|
||||
arg1: *mut pthread_once_t,
|
||||
arg2: ::std::option::Option<unsafe extern "C" fn()>,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_destroy(arg1: *mut pthread_rwlock_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_destroy(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_init(arg1: *mut pthread_rwlock_t,
|
||||
arg2: *const pthread_rwlockattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_init(
|
||||
arg1: *mut pthread_rwlock_t,
|
||||
arg2: *const pthread_rwlockattr_t,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_rdlock(arg1: *mut pthread_rwlock_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_rdlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_tryrdlock(arg1: *mut pthread_rwlock_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_tryrdlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_trywrlock(arg1: *mut pthread_rwlock_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_trywrlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_unlock(arg1: *mut pthread_rwlock_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_unlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlock_wrlock(arg1: *mut pthread_rwlock_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlock_wrlock(arg1: *mut pthread_rwlock_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlockattr_destroy(arg1: *mut pthread_rwlockattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlockattr_destroy(arg1: *mut pthread_rwlockattr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlockattr_getpshared(arg1: *const pthread_rwlockattr_t,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlockattr_getpshared(
|
||||
arg1: *const pthread_rwlockattr_t,
|
||||
arg2: *mut libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlockattr_init(arg1: *mut pthread_rwlockattr_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlockattr_init(arg1: *mut pthread_rwlockattr_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_rwlockattr_setpshared(arg1: *mut pthread_rwlockattr_t,
|
||||
arg2: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_rwlockattr_setpshared(
|
||||
arg1: *mut pthread_rwlockattr_t,
|
||||
arg2: libc::c_int,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -394,32 +398,30 @@ pub extern "C" fn pthread_self() -> pthread_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_setcancelstate(arg1: libc::c_int,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_setcancelstate(arg1: libc::c_int, arg2: *mut libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_setcanceltype(arg1: libc::c_int,
|
||||
arg2: *mut libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_setcanceltype(arg1: libc::c_int, arg2: *mut libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_setconcurrency(arg1: libc::c_int)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_setconcurrency(arg1: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_setschedparam(arg1: pthread_t, arg2: libc::c_int,
|
||||
arg3: *mut sched_param)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_setschedparam(
|
||||
arg1: pthread_t,
|
||||
arg2: libc::c_int,
|
||||
arg3: *mut sched_param,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn pthread_setspecific(arg1: pthread_key_t,
|
||||
arg2: *const libc::c_void)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn pthread_setspecific(
|
||||
arg1: pthread_key_t,
|
||||
arg2: *const libc::c_void,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -433,7 +435,9 @@ pub struct sched_param {
|
||||
pub _address: u8,
|
||||
}
|
||||
impl Clone for sched_param {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
@@ -441,7 +445,9 @@ pub struct sched_param {
|
||||
pub _address: u8,
|
||||
}
|
||||
impl Clone for sched_param {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
@@ -449,7 +455,9 @@ pub struct sched_param {
|
||||
pub _address: u8,
|
||||
}
|
||||
impl Clone for sched_param {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
@@ -457,5 +465,7 @@ pub struct sched_param {
|
||||
pub _address: u8,
|
||||
}
|
||||
impl Clone for sched_param {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
|
||||
+88
-87
@@ -10,7 +10,9 @@ pub struct div_t {
|
||||
}
|
||||
|
||||
impl Clone for div_t {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Copy)]
|
||||
@@ -19,7 +21,9 @@ pub struct ldiv_t {
|
||||
pub rem: libc::c_long,
|
||||
}
|
||||
impl Clone for ldiv_t {
|
||||
fn clone(&self) -> Self { *self }
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
pub extern "C" fn abort() {
|
||||
unimplemented!();
|
||||
@@ -29,8 +33,7 @@ pub extern "C" fn abs(arg1: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -42,21 +45,21 @@ pub extern "C" fn atoi(arg1: *const libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn atol(arg1: *const libc::c_char)
|
||||
-> libc::c_long {
|
||||
pub extern "C" fn atol(arg1: *const libc::c_char) -> libc::c_long {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn bsearch(arg1: *const libc::c_void,
|
||||
arg2: *const libc::c_void, arg3: usize,
|
||||
arg4: usize,
|
||||
arg5:
|
||||
::std::option::Option<unsafe extern "C" fn(arg1:
|
||||
*const libc::c_void,
|
||||
arg2:
|
||||
*const libc::c_void)
|
||||
-> libc::c_int>)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn bsearch(
|
||||
arg1: *const libc::c_void,
|
||||
arg2: *const libc::c_void,
|
||||
arg3: usize,
|
||||
arg4: usize,
|
||||
arg5: ::std::option::Option<
|
||||
unsafe extern "C" fn(arg1: *const libc::c_void,
|
||||
arg2: *const libc::c_void)
|
||||
-> libc::c_int,
|
||||
>,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -64,8 +67,7 @@ pub extern "C" fn calloc(arg1: usize, arg2: usize) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn div(arg1: libc::c_int, arg2: libc::c_int)
|
||||
-> div_t {
|
||||
pub extern "C" fn div(arg1: libc::c_int, arg2: libc::c_int) -> div_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -73,10 +75,12 @@ pub extern "C" fn drand48() -> f64 {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn ecvt(arg1: f64, arg2: libc::c_int,
|
||||
arg3: *mut libc::c_int,
|
||||
arg4: *mut libc::c_int)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn ecvt(
|
||||
arg1: f64,
|
||||
arg2: libc::c_int,
|
||||
arg3: *mut libc::c_int,
|
||||
arg4: *mut libc::c_int,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -88,10 +92,12 @@ pub extern "C" fn exit(arg1: libc::c_int) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn fcvt(arg1: f64, arg2: libc::c_int,
|
||||
arg3: *mut libc::c_int,
|
||||
arg4: *mut libc::c_int)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn fcvt(
|
||||
arg1: f64,
|
||||
arg2: libc::c_int,
|
||||
arg3: *mut libc::c_int,
|
||||
arg4: *mut libc::c_int,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -99,21 +105,19 @@ pub extern "C" fn free(arg1: *mut libc::c_void) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn gcvt(arg1: f64, arg2: libc::c_int,
|
||||
arg3: *mut libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn gcvt(arg1: f64, arg2: libc::c_int, arg3: *mut libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getenv(arg1: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn getenv(arg1: *const libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn getsubopt(arg1: *mut *mut libc::c_char,
|
||||
arg2: *const *const libc::c_char,
|
||||
arg3: *mut *mut libc::c_char)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn getsubopt(
|
||||
arg1: *mut *mut libc::c_char,
|
||||
arg2: *const *const libc::c_char,
|
||||
arg3: *mut *mut libc::c_char,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -121,14 +125,15 @@ pub extern "C" fn grantpt(arg1: libc::c_int) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn initstate(arg1: libc::c_uint,
|
||||
arg2: *mut libc::c_char, arg3: usize)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn initstate(
|
||||
arg1: libc::c_uint,
|
||||
arg2: *mut libc::c_char,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn jrand48(arg1: *mut libc::c_ushort)
|
||||
-> libc::c_long {
|
||||
pub extern "C" fn jrand48(arg1: *mut libc::c_ushort) -> libc::c_long {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -144,8 +149,7 @@ pub extern "C" fn lcong48(arg1: *mut libc::c_ushort) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn ldiv(arg1: libc::c_long, arg2: libc::c_long)
|
||||
-> ldiv_t {
|
||||
pub extern "C" fn ldiv(arg1: libc::c_long, arg2: libc::c_long) -> ldiv_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -157,28 +161,27 @@ pub extern "C" fn malloc(arg1: usize) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mblen(arg1: *const libc::c_char, arg2: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn mblen(arg1: *const libc::c_char, arg2: usize) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mbstowcs(arg1: *mut wchar_t, arg2: *const libc::c_char,
|
||||
arg3: usize) -> usize {
|
||||
pub extern "C" fn mbstowcs(arg1: *mut wchar_t, arg2: *const libc::c_char, arg3: usize) -> usize {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mbtowc(arg1: *mut wchar_t, arg2: *const libc::c_char,
|
||||
arg3: usize) -> libc::c_int {
|
||||
pub extern "C" fn mbtowc(
|
||||
arg1: *mut wchar_t,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: usize,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mktemp(arg1: *mut libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn mktemp(arg1: *mut libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn mkstemp(arg1: *mut libc::c_char)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn mkstemp(arg1: *mut libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -186,13 +189,11 @@ pub extern "C" fn mrand48() -> libc::c_long {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn nrand48(arg1: *mut libc::c_ushort)
|
||||
-> libc::c_long {
|
||||
pub extern "C" fn nrand48(arg1: *mut libc::c_ushort) -> libc::c_long {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn ptsname(arg1: libc::c_int)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn ptsname(arg1: libc::c_int) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -200,13 +201,16 @@ pub extern "C" fn putenv(arg1: *mut libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn qsort(arg1: *mut libc::c_void, arg2: usize, arg3: usize,
|
||||
arg4:
|
||||
::std::option::Option<unsafe extern "C" fn(arg1:
|
||||
*const libc::c_void,
|
||||
arg2:
|
||||
*const libc::c_void)
|
||||
-> libc::c_int>) {
|
||||
pub extern "C" fn qsort(
|
||||
arg1: *mut libc::c_void,
|
||||
arg2: usize,
|
||||
arg3: usize,
|
||||
arg4: ::std::option::Option<
|
||||
unsafe extern "C" fn(arg1: *const libc::c_void,
|
||||
arg2: *const libc::c_void)
|
||||
-> libc::c_int,
|
||||
>,
|
||||
) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -222,19 +226,18 @@ pub extern "C" fn random() -> libc::c_long {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn realloc(arg1: *mut libc::c_void, arg2: usize)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn realloc(arg1: *mut libc::c_void, arg2: usize) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn realpath(arg1: *const libc::c_char,
|
||||
arg2: *mut libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn realpath(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *mut libc::c_char,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn seed48(arg1: *mut libc::c_ushort)
|
||||
-> libc::c_ushort {
|
||||
pub extern "C" fn seed48(arg1: *mut libc::c_ushort) -> libc::c_ushort {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -242,8 +245,7 @@ pub extern "C" fn setkey(arg1: *const libc::c_char) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn setstate(arg1: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn setstate(arg1: *const libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -259,25 +261,27 @@ pub extern "C" fn srandom(arg1: libc::c_uint) {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strtod(arg1: *const libc::c_char,
|
||||
arg2: *mut *mut libc::c_char) -> f64 {
|
||||
pub extern "C" fn strtod(arg1: *const libc::c_char, arg2: *mut *mut libc::c_char) -> f64 {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strtol(arg1: *const libc::c_char,
|
||||
arg2: *mut *mut libc::c_char,
|
||||
arg3: libc::c_int) -> libc::c_long {
|
||||
pub extern "C" fn strtol(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *mut *mut libc::c_char,
|
||||
arg3: libc::c_int,
|
||||
) -> libc::c_long {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strtoul(arg1: *const libc::c_char,
|
||||
arg2: *mut *mut libc::c_char,
|
||||
arg3: libc::c_int) -> libc::c_ulong {
|
||||
pub extern "C" fn strtoul(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *mut *mut libc::c_char,
|
||||
arg3: libc::c_int,
|
||||
) -> libc::c_ulong {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn system(arg1: *const libc::c_char)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn system(arg1: *const libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -293,13 +297,10 @@ pub extern "C" fn valloc(arg1: usize) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn wcstombs(arg1: *mut libc::c_char, arg2: *const wchar_t,
|
||||
arg3: usize) -> usize {
|
||||
pub extern "C" fn wcstombs(arg1: *mut libc::c_char, arg2: *const wchar_t, arg3: usize) -> usize {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn wctomb(arg1: *mut libc::c_char, arg2: wchar_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn wctomb(arg1: *mut libc::c_char, arg2: wchar_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
+76
-74
@@ -1,150 +1,152 @@
|
||||
/* automatically generated by rust-bindgen */
|
||||
|
||||
pub extern "C" fn memccpy(arg1: *mut libc::c_void,
|
||||
arg2: *const libc::c_void,
|
||||
arg3: libc::c_int, arg4: usize)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn memccpy(
|
||||
arg1: *mut libc::c_void,
|
||||
arg2: *const libc::c_void,
|
||||
arg3: libc::c_int,
|
||||
arg4: usize,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn memchr(arg1: *const libc::c_void,
|
||||
arg2: libc::c_int, arg3: usize)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn memchr(
|
||||
arg1: *const libc::c_void,
|
||||
arg2: libc::c_int,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn memcmp(arg1: *const libc::c_void,
|
||||
arg2: *const libc::c_void, arg3: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn memcmp(
|
||||
arg1: *const libc::c_void,
|
||||
arg2: *const libc::c_void,
|
||||
arg3: usize,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn memcpy(arg1: *mut libc::c_void,
|
||||
arg2: *const libc::c_void, arg3: usize)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn memcpy(
|
||||
arg1: *mut libc::c_void,
|
||||
arg2: *const libc::c_void,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn memmove(arg1: *mut libc::c_void,
|
||||
arg2: *const libc::c_void, arg3: usize)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn memmove(
|
||||
arg1: *mut libc::c_void,
|
||||
arg2: *const libc::c_void,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn memset(arg1: *mut libc::c_void,
|
||||
arg2: libc::c_int, arg3: usize)
|
||||
-> *mut libc::c_void {
|
||||
pub extern "C" fn memset(
|
||||
arg1: *mut libc::c_void,
|
||||
arg2: libc::c_int,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_void {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strcat(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strcat(arg1: *mut libc::c_char, arg2: *const libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strchr(arg1: *const libc::c_char,
|
||||
arg2: libc::c_int) -> *mut libc::c_char {
|
||||
pub extern "C" fn strchr(arg1: *const libc::c_char, arg2: libc::c_int) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strcmp(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn strcmp(arg1: *const libc::c_char, arg2: *const libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strcoll(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn strcoll(arg1: *const libc::c_char, arg2: *const libc::c_char) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strcpy(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strcpy(arg1: *mut libc::c_char, arg2: *const libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strcspn(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> libc::c_ulong {
|
||||
pub extern "C" fn strcspn(arg1: *const libc::c_char, arg2: *const libc::c_char) -> libc::c_ulong {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strdup(arg1: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strdup(arg1: *const libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strerror(arg1: libc::c_int)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strerror(arg1: libc::c_int) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strlen(arg1: *const libc::c_char)
|
||||
-> libc::c_ulong {
|
||||
pub extern "C" fn strlen(arg1: *const libc::c_char) -> libc::c_ulong {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strncat(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char, arg3: usize)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strncat(
|
||||
arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strncmp(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char, arg3: usize)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn strncmp(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: usize,
|
||||
) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strncpy(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char, arg3: usize)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strncpy(
|
||||
arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: usize,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strpbrk(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strpbrk(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strrchr(arg1: *const libc::c_char,
|
||||
arg2: libc::c_int)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strrchr(arg1: *const libc::c_char, arg2: libc::c_int) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strspn(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> libc::c_ulong {
|
||||
pub extern "C" fn strspn(arg1: *const libc::c_char, arg2: *const libc::c_char) -> libc::c_ulong {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strstr(arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strstr(
|
||||
arg1: *const libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strtok(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strtok(arg1: *mut libc::c_char, arg2: *const libc::c_char) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strtok_r(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: *mut *mut libc::c_char)
|
||||
-> *mut libc::c_char {
|
||||
pub extern "C" fn strtok_r(
|
||||
arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: *mut *mut libc::c_char,
|
||||
) -> *mut libc::c_char {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn strxfrm(arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char, arg3: usize)
|
||||
-> libc::c_ulong {
|
||||
pub extern "C" fn strxfrm(
|
||||
arg1: *mut libc::c_char,
|
||||
arg2: *const libc::c_char,
|
||||
arg3: usize,
|
||||
) -> libc::c_ulong {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
+16
-33
@@ -1,70 +1,56 @@
|
||||
pub extern "C" fn iswalnum(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswalnum(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswalpha(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswalpha(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswcntrl(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswcntrl(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswdigit(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswdigit(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswgraph(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswgraph(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswlower(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswlower(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswprint(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswprint(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswpunct(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswpunct(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswspace(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswspace(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswupper(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswupper(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswxdigit(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswxdigit(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswblank(__wc: wint_t, __locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswblank(__wc: wint_t, __locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn wctype(__property: *const libc::c_char,
|
||||
__locale: locale_t) -> wctype_t {
|
||||
pub extern "C" fn wctype(__property: *const libc::c_char, __locale: locale_t) -> wctype_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn iswctype(__wc: wint_t, __desc: wctype_t, _locale: locale_t)
|
||||
-> libc::c_int {
|
||||
pub extern "C" fn iswctype(__wc: wint_t, __desc: wctype_t, _locale: locale_t) -> libc::c_int {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
@@ -76,13 +62,10 @@ pub extern "C" fn towupper(__wc: wint_t, __locale: locale_t) -> wint_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn wctrans(__property: *const libc::c_char,
|
||||
_locale: locale_t) -> wctrans_t {
|
||||
pub extern "C" fn wctrans(__property: *const libc::c_char, _locale: locale_t) -> wctrans_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
pub extern "C" fn towctrans(__wc: wint_t, __desc: wctrans_t, _locale: locale_t)
|
||||
-> wint_t {
|
||||
pub extern "C" fn towctrans(__wc: wint_t, __desc: wctrans_t, _locale: locale_t) -> wint_t {
|
||||
unimplemented!();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user