Lines Matching defs:c_int
12 pub type c_int = i32; typedef
3364 pub fn isalnum(c: c_int) -> c_int; in isalnum()
3365 pub fn isalpha(c: c_int) -> c_int; in isalpha()
3366 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
3367 pub fn isdigit(c: c_int) -> c_int; in isdigit()
3368 pub fn isgraph(c: c_int) -> c_int; in isgraph()
3369 pub fn islower(c: c_int) -> c_int; in islower()
3370 pub fn isprint(c: c_int) -> c_int; in isprint()
3371 pub fn ispunct(c: c_int) -> c_int; in ispunct()
3372 pub fn isspace(c: c_int) -> c_int; in isspace()
3373 pub fn isupper(c: c_int) -> c_int; in isupper()
3374 pub fn isxdigit(c: c_int) -> c_int; in isxdigit()
3375 pub fn isblank(c: c_int) -> c_int; in isblank()
3376 pub fn tolower(c: c_int) -> c_int; in tolower()
3377 pub fn toupper(c: c_int) -> c_int; in toupper()
3380 pub fn fflush(file: *mut FILE) -> c_int; in fflush()
3381 pub fn fclose(file: *mut FILE) -> c_int; in fclose()
3382 pub fn remove(filename: *const c_char) -> c_int; in remove()
3383 pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; in rename()
3385 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf()
3388 pub fn putchar(c: c_int) -> c_int; in putchar()
3389 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc()
3390 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets()
3391 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc()
3392 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs()
3393 pub fn puts(s: *const c_char) -> c_int; in puts()
3394 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc()
3397 pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; in fseek()
3400 pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int; in fgetpos()
3401 pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int; in fsetpos()
3402 pub fn feof(stream: *mut FILE) -> c_int; in feof()
3403 pub fn ferror(stream: *mut FILE) -> c_int; in ferror()
3406 pub fn atoi(s: *const c_char) -> c_int; in atoi()
3420 pub fn exit(status: c_int) -> !; in exit()
3421 pub fn _exit(status: c_int) -> !; in _exit()
3422 pub fn atexit(cb: extern "C" fn()) -> c_int; in atexit()
3423 pub fn system(s: *const c_char) -> c_int; in system()
3430 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; in strcmp()
3431 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp()
3432 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll()
3448 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr()
3450 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp()
3453 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset()
3455 pub fn abs(i: c_int) -> c_int; in abs()
3463 pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; in fprintf()
3464 pub fn printf(format: *const ::c_char, ...) -> ::c_int; in printf()
3465 pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; in snprintf()
3466 pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; in sprintf()
3467 pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; in fscanf()
3468 pub fn scanf(format: *const ::c_char, ...) -> ::c_int; in scanf()
3469 pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; in sscanf()
3471 pub fn putchar_unlocked(c: ::c_int) -> ::c_int; in putchar_unlocked()
3473 pub fn socket(domain: ::c_int, ty: ::c_int, protocol: ::c_int) -> ::c_int; in socket()
3474 pub fn connect(socket: ::c_int, address: *const sockaddr, len: socklen_t) -> ::c_int; in connect()
3475 pub fn listen(socket: ::c_int, backlog: ::c_int) -> ::c_int; in listen()
3476 pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; in accept()
3478 socket: ::c_int, in getpeername()
3481 ) -> ::c_int; in getpeername()
3483 socket: ::c_int, in getsockname()
3486 ) -> ::c_int; in getsockname()
3488 socket: ::c_int, in setsockopt()
3489 level: ::c_int, in setsockopt()
3490 name: ::c_int, in setsockopt()
3493 ) -> ::c_int; in setsockopt()
3495 domain: ::c_int, in socketpair()
3496 type_: ::c_int, in socketpair()
3497 protocol: ::c_int, in socketpair()
3498 socket_vector: *mut ::c_int, in socketpair()
3499 ) -> ::c_int; in socketpair()
3501 socket: ::c_int, in sendto()
3504 flags: ::c_int, in sendto()
3508 pub fn shutdown(socket: ::c_int, how: ::c_int) -> ::c_int; in shutdown()
3510 pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; in chmod()
3511 pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int; in fchmod()
3513 pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; in fstat()
3515 pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; in mkdir()
3517 pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; in stat()
3519 pub fn pclose(stream: *mut ::FILE) -> ::c_int; in pclose()
3520 pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE; in fdopen()
3521 pub fn fileno(stream: *mut ::FILE) -> ::c_int; in fileno()
3523 pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; in open()
3524 pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; in creat()
3525 pub fn fcntl(fd: ::c_int, cmd: ::c_int, ...) -> ::c_int; in fcntl()
3529 pub fn readdir_r(dirp: *mut ::DIR, entry: *mut ::dirent, result: *mut *mut ::dirent) in readdir_r()
3531 pub fn closedir(dirp: *mut ::DIR) -> ::c_int; in closedir()
3534 pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int, ...) -> ::c_int; in openat()
3536 dirfd: ::c_int, in fchmodat()
3539 flags: ::c_int, in fchmodat()
3540 ) -> ::c_int; in fchmodat()
3541 pub fn fchown(fd: ::c_int, owner: ::uid_t, group: ::gid_t) -> ::c_int; in fchown()
3543 dirfd: ::c_int, in fchownat()
3547 flags: ::c_int, in fchownat()
3548 ) -> ::c_int; in fchownat()
3550 dirfd: ::c_int, in fstatat()
3553 flags: ::c_int, in fstatat()
3554 ) -> ::c_int; in fstatat()
3556 olddirfd: ::c_int, in linkat()
3558 newdirfd: ::c_int, in linkat()
3560 flags: ::c_int, in linkat()
3561 ) -> ::c_int; in linkat()
3562 pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, mode: ::mode_t) -> ::c_int; in mkdirat()
3564 dirfd: ::c_int, in readlinkat()
3570 olddirfd: ::c_int, in renameat()
3572 newdirfd: ::c_int, in renameat()
3574 ) -> ::c_int; in renameat()
3577 newdirfd: ::c_int, in symlinkat()
3579 ) -> ::c_int; in symlinkat()
3580 pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; in unlinkat()
3582 pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; in access()
3584 pub fn chdir(dir: *const c_char) -> ::c_int; in chdir()
3585 pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; in chown()
3586 pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; in lchown()
3587 pub fn close(fd: ::c_int) -> ::c_int; in close()
3588 pub fn dup(fd: ::c_int) -> ::c_int; in dup()
3589 pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int; in dup2()
3590 pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int; in execl()
3591 pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; in execle()
3592 pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; in execlp()
3593 pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int; in execv()
3598 ) -> ::c_int; in execve()
3599 pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; in execvp()
3601 pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long; in fpathconf()
3606 pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int; in getgroups()
3608 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()
3614 pub fn isatty(fd: ::c_int) -> ::c_int; in isatty()
3615 pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; in link()
3616 pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; in lseek()
3619 pub fn pipe(fds: *mut ::c_int) -> ::c_int; in pipe()
3620 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int; in posix_memalign()
3621 pub fn read(fd: ::c_int, buf: *mut ::c_void, count: ::size_t) -> ::ssize_t; in read()
3622 pub fn rmdir(path: *const c_char) -> ::c_int; in rmdir()
3623 pub fn seteuid(uid: uid_t) -> ::c_int; in seteuid()
3624 pub fn setegid(gid: gid_t) -> ::c_int; in setegid()
3625 pub fn setgid(gid: gid_t) -> ::c_int; in setgid()
3626 pub fn setpgid(pid: pid_t, pgid: pid_t) -> ::c_int; in setpgid()
3628 pub fn setuid(uid: uid_t) -> ::c_int; in setuid()
3630 pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> ::c_int; in nanosleep()
3632 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
3634 pub fn unlink(c: *const c_char) -> ::c_int; in unlink()
3636 pub fn waitpid(pid: pid_t, status: *mut ::c_int, options: ::c_int) -> pid_t; in waitpid()
3637 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t; in write()
3638 pub fn pread(fd: ::c_int, buf: *mut ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; in pread()
3639 pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; in pwrite()
3642 pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int; in utime()
3644 pub fn kill(pid: pid_t, sig: ::c_int) -> ::c_int; in kill()
3646 pub fn mlock(addr: *const ::c_void, len: ::size_t) -> ::c_int; in mlock()
3647 pub fn munlock(addr: *const ::c_void, len: ::size_t) -> ::c_int; in munlock()
3648 pub fn mlockall(flags: ::c_int) -> ::c_int; in mlockall()
3654 prot: ::c_int, in mmap()
3655 flags: ::c_int, in mmap()
3656 fd: ::c_int, in mmap()
3659 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int; in munmap()
3664 pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; in lstat()
3666 pub fn fsync(fd: ::c_int) -> ::c_int; in fsync()
3668 pub fn setenv(name: *const c_char, val: *const c_char, overwrite: ::c_int) -> ::c_int; in setenv()
3669 pub fn unsetenv(name: *const c_char) -> ::c_int; in unsetenv()
3671 pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; in symlink()
3673 pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int; in ftruncate()
3675 pub fn signal(signum: ::c_int, handler: sighandler_t) -> sighandler_t; in signal()
3679 pub fn flock(fd: ::c_int, operation: ::c_int) -> ::c_int; in flock()
3681 pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int; in gettimeofday()
3685 pub fn pthread_join(native: ::pthread_t, value: *mut *mut ::c_void) -> ::c_int; in pthread_join()
3687 pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int; in pthread_attr_init()
3688 pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int; in pthread_attr_destroy()
3689 pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t, stack_size: ::size_t) -> ::c_int; in pthread_attr_setstacksize()
3690 pub fn pthread_attr_setdetachstate(attr: *mut ::pthread_attr_t, state: ::c_int) -> ::c_int; in pthread_attr_setdetachstate()
3691 pub fn pthread_detach(thread: ::pthread_t) -> ::c_int; in pthread_detach()
3696 ) -> ::c_int; in pthread_key_create()
3697 pub fn pthread_key_delete(key: pthread_key_t) -> ::c_int; in pthread_key_delete()
3699 pub fn pthread_setspecific(key: pthread_key_t, value: *const ::c_void) -> ::c_int; in pthread_setspecific()
3703 ) -> ::c_int; in pthread_mutex_init()
3704 pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_destroy()
3705 pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_lock()
3706 pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_trylock()
3707 pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_unlock()
3709 pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int; in pthread_mutexattr_init()
3710 pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> ::c_int; in pthread_mutexattr_destroy()
3711 pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, _type: ::c_int) -> ::c_int; in pthread_mutexattr_settype()
3713 pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) in pthread_cond_init()
3715 pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> ::c_int; in pthread_cond_wait()
3720 ) -> ::c_int; in pthread_cond_timedwait()
3721 pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> ::c_int; in pthread_cond_signal()
3722 pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> ::c_int; in pthread_cond_broadcast()
3723 pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> ::c_int; in pthread_cond_destroy()
3724 pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> ::c_int; in pthread_condattr_init()
3725 pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> ::c_int; in pthread_condattr_destroy()
3729 ) -> ::c_int; in pthread_rwlock_init()
3730 pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_destroy()
3731 pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_rdlock()
3732 pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_tryrdlock()
3733 pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_wrlock()
3734 pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_trywrlock()
3735 pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_unlock()
3736 pub fn pthread_rwlockattr_init(attr: *mut pthread_rwlockattr_t) -> ::c_int; in pthread_rwlockattr_init()
3737 pub fn pthread_rwlockattr_destroy(attr: *mut pthread_rwlockattr_t) -> ::c_int; in pthread_rwlockattr_destroy()
3738 pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; in strerror_r()
3741 sockfd: ::c_int, in getsockopt()
3742 level: ::c_int, in getsockopt()
3743 optname: ::c_int, in getsockopt()
3746 ) -> ::c_int; in getsockopt()
3747 pub fn raise(signum: ::c_int) -> ::c_int; in raise()
3748 pub fn sigaction(signum: ::c_int, act: *const sigaction, oldact: *mut sigaction) -> ::c_int; in sigaction()
3750 pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; in utimes()
3754 pub fn dlclose(handle: *mut ::c_void) -> ::c_int; in dlclose()
3755 pub fn dladdr(addr: *const ::c_void, info: *mut Dl_info) -> ::c_int; in dladdr()
3762 ) -> ::c_int; in getaddrinfo()
3774 pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; in mknod()
3775 pub fn uname(buf: *mut ::utsname) -> ::c_int; in uname()
3776 pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; in gethostname()
3780 pub fn usleep(secs: ::c_uint) -> ::c_int; in usleep()
3781 pub fn send(socket: ::c_int, buf: *const ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t; in send()
3782 pub fn recv(socket: ::c_int, buf: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t; in recv()
3783 pub fn putenv(string: *mut c_char) -> ::c_int; in putenv()
3784 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; in poll()
3786 nfds: ::c_int, in select()
3791 ) -> ::c_int; in select()
3792 pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; in setlocale()
3795 pub fn sem_destroy(sem: *mut sem_t) -> ::c_int; in sem_destroy()
3796 pub fn sem_wait(sem: *mut sem_t) -> ::c_int; in sem_wait()
3797 pub fn sem_trywait(sem: *mut sem_t) -> ::c_int; in sem_trywait()
3798 pub fn sem_post(sem: *mut sem_t) -> ::c_int; in sem_post()
3799 pub fn sem_init(sem: *mut sem_t, pshared: ::c_int, value: ::c_uint) -> ::c_int; in sem_init()
3800 pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; in statvfs()
3801 pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int; in fstatvfs()
3805 pub fn sigemptyset(set: *mut sigset_t) -> ::c_int; in sigemptyset()
3806 pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; in sigaddset()
3807 pub fn sigfillset(set: *mut sigset_t) -> ::c_int; in sigfillset()
3808 pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; in sigdelset()
3809 pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int; in sigismember()
3811 pub fn sigprocmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; in sigprocmask()
3812 pub fn sigpending(set: *mut sigset_t) -> ::c_int; in sigpending()
3820 pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; in mkfifo()
3823 nfds: ::c_int, in pselect()
3829 ) -> ::c_int; in pselect()
3830 pub fn fseeko(stream: *mut ::FILE, offset: ::off_t, whence: ::c_int) -> ::c_int; in fseeko()
3832 pub fn tcdrain(fd: ::c_int) -> ::c_int; in tcdrain()
3836 pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; in cfsetispeed()
3837 pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; in cfsetospeed()
3838 pub fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; in cfsetspeed()
3839 pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int; in tcgetattr()
3840 pub fn tcsetattr(fd: ::c_int, optional_actions: ::c_int, termios: *const ::termios) -> ::c_int; in tcsetattr()
3841 pub fn tcflow(fd: ::c_int, action: ::c_int) -> ::c_int; in tcflow()
3842 pub fn tcflush(fd: ::c_int, action: ::c_int) -> ::c_int; in tcflush()
3844 pub fn tcsendbreak(fd: ::c_int, duration: ::c_int) -> ::c_int; in tcsendbreak()
3845 pub fn mkstemp(template: *mut ::c_char) -> ::c_int; in mkstemp()
3850 pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); in openlog()
3852 pub fn setlogmask(maskpri: ::c_int) -> ::c_int; in setlogmask()
3853 pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); in syslog()
3855 pub fn grantpt(fd: ::c_int) -> ::c_int; in grantpt()
3856 pub fn posix_openpt(flags: ::c_int) -> ::c_int; in posix_openpt()
3858 pub fn unlockpt(fd: ::c_int) -> ::c_int; in unlockpt()
3860 pub fn fdatasync(fd: ::c_int) -> ::c_int; in fdatasync()
3861 pub fn clock_getres(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_getres()
3862 pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int; in clock_gettime()
3863 pub fn clock_settime(clk_id: ::clockid_t, tp: *const ::timespec) -> ::c_int; in clock_settime()
3864 pub fn dirfd(dirp: *mut ::DIR) -> ::c_int; in dirfd()
3866 pub fn pthread_getattr_np(native: ::pthread_t, attr: *mut ::pthread_attr_t) -> ::c_int; in pthread_getattr_np()
3871 ) -> ::c_int; in pthread_attr_getstack()
3873 pub fn setgroups(ngroups: ::size_t, ptr: *const ::gid_t) -> ::c_int; in setgroups()
3874 pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int; in pipe2()
3875 pub fn statfs(path: *const ::c_char, buf: *mut statfs) -> ::c_int; in statfs()
3876 pub fn fstatfs(fd: ::c_int, buf: *mut statfs) -> ::c_int; in fstatfs()
3877 pub fn memrchr(cx: *const ::c_void, c: ::c_int, n: ::size_t) -> *mut ::c_void; in memrchr()
3879 pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t, advise: ::c_int) -> ::c_int; in posix_fadvise()
3880 pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int; in futimens()
3882 dirfd: ::c_int, in utimensat()
3885 flag: ::c_int, in utimensat()
3886 ) -> ::c_int; in utimensat()
3889 pub fn newlocale(mask: ::c_int, locale: *const ::c_char, base: ::locale_t) -> ::locale_t; in newlocale()
3895 dirfd: ::c_int, in mknodat()
3899 ) -> ::c_int; in mknodat()
3903 ) -> ::c_int; in pthread_condattr_getclock()
3907 ) -> ::c_int; in pthread_condattr_setclock()
3909 fd: ::c_int, in accept4()
3912 flg: ::c_int, in accept4()
3913 ) -> ::c_int; in accept4()
3914 pub fn ptsname_r(fd: ::c_int, buf: *mut ::c_char, buflen: ::size_t) -> ::c_int; in ptsname_r()
3916 pub fn waitid(idtype: idtype_t, id: id_t, infop: *mut ::siginfo_t, options: ::c_int) in waitid()
3918 pub fn setreuid(ruid: ::uid_t, euid: ::uid_t) -> ::c_int; in setreuid()
3919 pub fn setregid(rgid: ::gid_t, egid: ::gid_t) -> ::c_int; in setregid()
3920 pub fn getresuid(ruid: *mut ::uid_t, euid: *mut ::uid_t, suid: *mut ::uid_t) -> ::c_int; in getresuid()
3921 pub fn getresgid(rgid: *mut ::gid_t, egid: *mut ::gid_t, sgid: *mut ::gid_t) -> ::c_int; in getresgid()
3922 pub fn acct(filename: *const ::c_char) -> ::c_int; in acct()
3923 pub fn brk(addr: *mut ::c_void) -> ::c_int; in brk()
3924 pub fn setresgid(rgid: ::gid_t, egid: ::gid_t, sgid: ::gid_t) -> ::c_int; in setresgid()
3925 pub fn setresuid(ruid: ::uid_t, euid: ::uid_t, suid: ::uid_t) -> ::c_int; in setresuid()
3927 amaster: *mut ::c_int, in openpty()
3928 aslave: *mut ::c_int, in openpty()
3932 ) -> ::c_int; in openpty()
3937 ) -> ::c_int; in execvpe()
3939 fd: ::c_int, in fexecve()
3942 ) -> ::c_int; in fexecve()
3944 pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::c_int; in ioctl()
3946 pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int; in lutimes()
3952 pub fn shm_open(name: *const c_char, oflag: ::c_int, mode: mode_t) -> ::c_int; in shm_open()
3955 pub fn shmget(key: ::key_t, size: ::size_t, shmflg: ::c_int) -> ::c_int; in shmget()
3956 pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void, shmflg: ::c_int) -> *mut ::c_void; in shmat()
3957 pub fn shmdt(shmaddr: *const ::c_void) -> ::c_int; in shmdt()
3958 pub fn shmctl(shmid: ::c_int, cmd: ::c_int, buf: *mut ::shmid_ds) -> ::c_int; in shmctl()
3960 pub fn semget(key: ::key_t, nsems: ::c_int, semflag: ::c_int) -> ::c_int; in semget()
3961 pub fn semop(semid: ::c_int, sops: *mut ::sembuf, nsops: ::size_t) -> ::c_int; in semop()
3962 pub fn semctl(semid: ::c_int, semnum: ::c_int, cmd: ::c_int, ...) -> ::c_int; in semctl()
3963 pub fn msgctl(msqid: ::c_int, cmd: ::c_int, buf: *mut msqid_ds) -> ::c_int; in msgctl()
3964 pub fn msgget(key: ::key_t, msgflg: ::c_int) -> ::c_int; in msgget()
3966 msqid: ::c_int, in msgrcv()
3970 msgflg: ::c_int, in msgrcv()
3973 msqid: ::c_int, in msgsnd()
3976 msgflg: ::c_int, in msgsnd()
3977 ) -> ::c_int; in msgsnd()
3979 pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int) -> ::c_int; in mprotect()
3982 pub fn fallocate(fd: ::c_int, mode: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int; in fallocate()
3983 pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int; in posix_fallocate()
3984 pub fn readahead(fd: ::c_int, offset: ::off64_t, count: ::size_t) -> ::ssize_t; in readahead()
3985 pub fn signalfd(fd: ::c_int, mask: *const ::sigset_t, flags: ::c_int) -> ::c_int; in signalfd()
3986 pub fn timerfd_create(clockid: ::c_int, flags: ::c_int) -> ::c_int; in timerfd_create()
3987 pub fn timerfd_gettime(fd: ::c_int, curr_value: *mut itimerspec) -> ::c_int; in timerfd_gettime()
3989 fd: ::c_int, in timerfd_settime()
3990 flags: ::c_int, in timerfd_settime()
3993 ) -> ::c_int; in timerfd_settime()
3994 pub fn pwritev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) in pwritev()
3996 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv()
3998 cmd: ::c_int, in quotactl()
4000 id: ::c_int, in quotactl()
4002 ) -> ::c_int; in quotactl()
4003 pub fn dup3(oldfd: ::c_int, newfd: ::c_int, flags: ::c_int) -> ::c_int; in dup3()
4004 pub fn mkostemp(template: *mut ::c_char, flags: ::c_int) -> ::c_int; in mkostemp()
4005 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
4010 ) -> ::c_int; in sigtimedwait()
4011 pub fn sigwaitinfo(set: *const sigset_t, info: *mut siginfo_t) -> ::c_int; in sigwaitinfo()
4020 flags: ::c_int, in getnameinfo()
4021 ) -> ::c_int; in getnameinfo()
4022 pub fn reboot(how_to: ::c_int) -> ::c_int; in reboot()
4023 pub fn setfsgid(gid: ::gid_t) -> ::c_int; in setfsgid()
4024 pub fn setfsuid(uid: ::uid_t) -> ::c_int; in setfsuid()
4027 pub fn mkfifoat(dirfd: ::c_int, pathname: *const ::c_char, mode: ::mode_t) -> ::c_int; in mkfifoat()
4031 fd: ::c_int, in sync_file_range()
4035 ) -> ::c_int; in sync_file_range()
4036 pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int; in getifaddrs()
4041 flags: ::c_int, in glob()
4042 errfunc: ::Option<extern "C" fn(epath: *const c_char, errno: ::c_int) -> ::c_int>, in glob()
4047 pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in posix_madvise()
4049 pub fn shm_unlink(name: *const ::c_char) -> ::c_int; in shm_unlink()
4054 pub fn madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in madvise()
4056 pub fn msync(addr: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::c_int; in msync()
4059 socket: ::c_int, in recvfrom()
4062 flags: ::c_int, in recvfrom()
4066 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
4067 pub fn futimes(fd: ::c_int, times: *const ::timeval) -> ::c_int; in futimes()
4070 pub fn bind(socket: ::c_int, address: *const ::sockaddr, address_len: ::socklen_t) -> ::c_int; in bind()
4072 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev()
4073 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv()
4075 pub fn sendmsg(fd: ::c_int, msg: *const ::msghdr, flags: ::c_int) -> ::ssize_t; in sendmsg()
4076 pub fn recvmsg(fd: ::c_int, msg: *mut ::msghdr, flags: ::c_int) -> ::ssize_t; in recvmsg()
4077 pub fn getdomainname(name: *mut ::c_char, len: ::size_t) -> ::c_int; in getdomainname()
4078 pub fn setdomainname(name: *const ::c_char, len: ::size_t) -> ::c_int; in setdomainname()
4081 sockfd: ::c_int, in sendmmsg()
4084 flags: ::c_int, in sendmmsg()
4085 ) -> ::c_int; in sendmmsg()
4087 sockfd: ::c_int, in recvmmsg()
4090 flags: ::c_int, in recvmmsg()
4092 ) -> ::c_int; in recvmmsg()
4095 pub fn sched_getaffinity(pid: ::pid_t, cpusetsize: ::size_t, cpuset: *mut cpu_set_t) in sched_getaffinity()
4101 ) -> ::c_int; in sched_setaffinity()
4102 pub fn umount(target: *const ::c_char) -> ::c_int; in umount()
4103 pub fn sched_get_priority_max(policy: ::c_int) -> ::c_int; in sched_get_priority_max()
4104 pub fn tee(fd_in: ::c_int, fd_out: ::c_int, len: ::size_t, flags: ::c_uint) -> ::ssize_t; in tee()
4105 pub fn settimeofday(tv: *const ::timeval, tz: *const ::timezone) -> ::c_int; in settimeofday()
4107 fd_in: ::c_int, in splice()
4109 fd_out: ::c_int, in splice()
4114 pub fn eventfd(init: ::c_uint, flags: ::c_int) -> ::c_int; in eventfd()
4115 pub fn sched_rr_get_interval(pid: ::pid_t, tp: *mut ::timespec) -> ::c_int; in sched_rr_get_interval()
4116 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const ::timespec) -> ::c_int; in sem_timedwait()
4117 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut ::c_int) -> ::c_int; in sem_getvalue()
4118 pub fn sched_setparam(pid: ::pid_t, param: *const ::sched_param) -> ::c_int; in sched_setparam()
4119 pub fn swapoff(puath: *const ::c_char) -> ::c_int; in swapoff()
4121 fd: ::c_int, in vmsplice()
4132 ) -> ::c_int; in mount()
4133 pub fn personality(persona: ::c_ulong) -> ::c_int; in personality()
4134 pub fn sched_getparam(pid: ::pid_t, param: *mut ::sched_param) -> ::c_int; in sched_getparam()
4140 ) -> ::c_int; in ppoll()
4144 ) -> ::c_int; in pthread_mutex_timedlock()
4146 cb: extern "C" fn(*mut ::c_void) -> ::c_int, in clone()
4148 flags: ::c_int, in clone()
4151 ) -> ::c_int; in clone()
4152 pub fn sched_getscheduler(pid: ::pid_t) -> ::c_int; in sched_getscheduler()
4155 flags: ::c_int, in clock_nanosleep()
4158 ) -> ::c_int; in clock_nanosleep()
4162 ) -> ::c_int; in pthread_attr_getguardsize()
4163 pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int; in sethostname()
4164 pub fn sched_get_priority_min(policy: ::c_int) -> ::c_int; in sched_get_priority_min()
4165 pub fn umount2(target: *const ::c_char, flags: ::c_int) -> ::c_int; in umount2()
4166 pub fn swapon(path: *const ::c_char, swapflags: ::c_int) -> ::c_int; in swapon()
4169 policy: ::c_int, in sched_setscheduler()
4171 ) -> ::c_int; in sched_setscheduler()
4172 pub fn sigsuspend(mask: *const ::sigset_t) -> ::c_int; in sigsuspend()
4179 ) -> ::c_int; in getgrgid_r()
4180 pub fn sigaltstack(ss: *const stack_t, oss: *mut stack_t) -> ::c_int; in sigaltstack()
4181 pub fn sem_close(sem: *mut sem_t) -> ::c_int; in sem_close()
4189 ) -> ::c_int; in getgrnam_r()
4190 pub fn initgroups(user: *const ::c_char, group: ::gid_t) -> ::c_int; in initgroups()
4191 pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; in pthread_sigmask()
4192 pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; in sem_open()
4194 pub fn pthread_cancel(thread: ::pthread_t) -> ::c_int; in pthread_cancel()
4195 pub fn pthread_kill(thread: ::pthread_t, sig: ::c_int) -> ::c_int; in pthread_kill()
4196 pub fn sem_unlink(name: *const ::c_char) -> ::c_int; in sem_unlink()
4197 pub fn daemon(nochdir: ::c_int, noclose: ::c_int) -> ::c_int; in daemon()
4204 ) -> ::c_int; in getpwnam_r()
4211 ) -> ::c_int; in getpwuid_r()
4212 pub fn sigwait(set: *const sigset_t, sig: *mut ::c_int) -> ::c_int; in sigwait()
4217 ) -> ::c_int; in pthread_atfork()
4228 ngroups: *mut ::c_int, in getgrouplist()
4229 ) -> ::c_int; in getgrouplist()
4232 dirfd: ::c_int, in faccessat()
4234 mode: ::c_int, in faccessat()
4235 flags: ::c_int, in faccessat()
4236 ) -> ::c_int; in faccessat()
4242 ) -> ::c_int; in pthread_create()
4249 ) -> ::c_int, in dl_iterate_phdr()