Created
March 2, 2018 05:21
-
-
Save sajattack/a5eee1012995e132f68c143f810e001e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern "C" { | |
pub fn access(arg1: *const libc::c_char, | |
arg2: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn alarm(arg1: libc::c_uint) -> libc::c_uint; | |
} | |
extern "C" { | |
pub fn brk(arg1: *mut libc::c_void) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn chdir(arg1: *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn chroot(arg1: *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn chown(arg1: *const libc::c_char, arg2: uid_t, | |
arg3: gid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn close(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn confstr(arg1: libc::c_int, | |
arg2: *mut libc::c_char, arg3: usize) -> usize; | |
} | |
extern "C" { | |
pub fn crypt(arg1: *const libc::c_char, | |
arg2: *const libc::c_char) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn ctermid(arg1: *mut libc::c_char) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn cuserid(s: *mut libc::c_char) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn dup(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn dup2(arg1: libc::c_int, arg2: libc::c_int) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn encrypt(arg1: *mut libc::c_char, | |
arg2: libc::c_int); | |
} | |
extern "C" { | |
pub fn execl(arg1: *const libc::c_char, | |
arg2: *const libc::c_char, ...) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn execle(arg1: *const libc::c_char, | |
arg2: *const libc::c_char, ...) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn execlp(arg1: *const libc::c_char, | |
arg2: *const libc::c_char, ...) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn execv(arg1: *const libc::c_char, | |
arg2: *const *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn execve(arg1: *const libc::c_char, | |
arg2: *const *const libc::c_char, | |
arg3: *const *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn execvp(arg1: *const libc::c_char, | |
arg2: *const *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn _exit(arg1: libc::c_int); | |
} | |
extern "C" { | |
pub fn fchown(arg1: libc::c_int, arg2: uid_t, arg3: gid_t) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn fchdir(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn fdatasync(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn fork() -> pid_t; | |
} | |
extern "C" { | |
pub fn fpathconf(arg1: libc::c_int, arg2: libc::c_int) | |
-> libc::c_long; | |
} | |
extern "C" { | |
pub fn fsync(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn ftruncate(arg1: libc::c_int, arg2: off_t) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn getcwd(arg1: *mut libc::c_char, arg2: usize) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn getdtablesize() -> libc::c_int; | |
} | |
extern "C" { | |
pub fn getegid() -> gid_t; | |
} | |
extern "C" { | |
pub fn geteuid() -> uid_t; | |
} | |
extern "C" { | |
pub fn getgid() -> gid_t; | |
} | |
extern "C" { | |
pub fn getgroups(arg1: libc::c_int, arg2: *mut gid_t) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn gethostid() -> libc::c_long; | |
} | |
extern "C" { | |
pub fn getlogin() -> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn getlogin_r(arg1: *mut libc::c_char, arg2: usize) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn getopt(arg1: libc::c_int, | |
arg2: *const *const libc::c_char, | |
arg3: *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn getpagesize() -> libc::c_int; | |
} | |
extern "C" { | |
pub fn getpass(arg1: *const libc::c_char) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn getpgid(arg1: pid_t) -> pid_t; | |
} | |
extern "C" { | |
pub fn getpgrp() -> pid_t; | |
} | |
extern "C" { | |
pub fn getpid() -> pid_t; | |
} | |
extern "C" { | |
pub fn getppid() -> pid_t; | |
} | |
extern "C" { | |
pub fn getsid(arg1: pid_t) -> pid_t; | |
} | |
extern "C" { | |
pub fn getuid() -> uid_t; | |
} | |
extern "C" { | |
pub fn getwd(arg1: *mut libc::c_char) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn isatty(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn lchown(arg1: *const libc::c_char, arg2: uid_t, | |
arg3: gid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn link(arg1: *const libc::c_char, | |
arg2: *const libc::c_char) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn lockf(arg1: libc::c_int, arg2: libc::c_int, | |
arg3: off_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn lseek(arg1: libc::c_int, arg2: off_t, | |
arg3: libc::c_int) -> off_t; | |
} | |
extern "C" { | |
pub fn nice(arg1: libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn pathconf(arg1: *const libc::c_char, | |
arg2: libc::c_int) -> libc::c_long; | |
} | |
extern "C" { | |
pub fn pause() -> libc::c_int; | |
} | |
extern "C" { | |
pub fn pipe(arg1: *mut libc::c_int) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn pread(arg1: libc::c_int, | |
arg2: *mut libc::c_void, arg3: usize, arg4: off_t) | |
-> isize; | |
} | |
extern "C" { | |
pub fn pthread_atfork(arg1: ::std::option::Option<unsafe extern "C" fn()>, | |
arg2: ::std::option::Option<unsafe extern "C" fn()>, | |
arg3: ::std::option::Option<unsafe extern "C" fn()>) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn pwrite(arg1: libc::c_int, | |
arg2: *const libc::c_void, arg3: usize, | |
arg4: off_t) -> isize; | |
} | |
extern "C" { | |
pub fn read(arg1: libc::c_int, | |
arg2: *mut libc::c_void, arg3: usize) -> isize; | |
} | |
extern "C" { | |
pub fn readlink(arg1: *const libc::c_char, | |
arg2: *mut libc::c_char, arg3: usize) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn rmdir(arg1: *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn sbrk(arg1: isize) -> *mut libc::c_void; | |
} | |
extern "C" { | |
pub fn setgid(arg1: gid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn setpgid(arg1: pid_t, arg2: pid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn setpgrp() -> pid_t; | |
} | |
extern "C" { | |
pub fn setregid(arg1: gid_t, arg2: gid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn setreuid(arg1: uid_t, arg2: uid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn setsid() -> pid_t; | |
} | |
extern "C" { | |
pub fn setuid(arg1: uid_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn sleep(arg1: libc::c_uint) -> libc::c_uint; | |
} | |
extern "C" { | |
pub fn swab(arg1: *const libc::c_void, | |
arg2: *mut libc::c_void, arg3: isize); | |
} | |
extern "C" { | |
pub fn symlink(arg1: *const libc::c_char, | |
arg2: *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn sync(); | |
} | |
extern "C" { | |
pub fn sysconf(arg1: libc::c_int) -> libc::c_long; | |
} | |
extern "C" { | |
pub fn tcgetpgrp(arg1: libc::c_int) -> pid_t; | |
} | |
extern "C" { | |
pub fn tcsetpgrp(arg1: libc::c_int, arg2: pid_t) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn truncate(arg1: *const libc::c_char, arg2: off_t) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn ttyname(arg1: libc::c_int) | |
-> *mut libc::c_char; | |
} | |
extern "C" { | |
pub fn ttyname_r(arg1: libc::c_int, | |
arg2: *mut libc::c_char, arg3: usize) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn ualarm(arg1: useconds_t, arg2: useconds_t) -> useconds_t; | |
} | |
extern "C" { | |
pub fn unlink(arg1: *const libc::c_char) | |
-> libc::c_int; | |
} | |
extern "C" { | |
pub fn usleep(arg1: useconds_t) -> libc::c_int; | |
} | |
extern "C" { | |
pub fn vfork() -> libc::c_int; | |
} | |
extern "C" { | |
pub fn write(arg1: libc::c_int, | |
arg2: *const libc::c_void, arg3: usize) -> isize; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment