Lines Matching defs:c_int
10 pub type c_int = i32; typedef
421 pub fn isalnum(c: c_int) -> c_int; in isalnum()
422 pub fn isalpha(c: c_int) -> c_int; in isalpha()
423 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
424 pub fn isdigit(c: c_int) -> c_int; in isdigit()
425 pub fn isgraph(c: c_int) -> c_int; in isgraph()
426 pub fn islower(c: c_int) -> c_int; in islower()
427 pub fn isprint(c: c_int) -> c_int; in isprint()
428 pub fn ispunct(c: c_int) -> c_int; in ispunct()
429 pub fn isspace(c: c_int) -> c_int; in isspace()
430 pub fn isupper(c: c_int) -> c_int; in isupper()
431 pub fn isxdigit(c: c_int) -> c_int; in isxdigit()
432 pub fn isblank(c: c_int) -> c_int; in isblank()
433 pub fn tolower(c: c_int) -> c_int; in tolower()
434 pub fn toupper(c: c_int) -> c_int; in toupper()
439 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>, in qsort()
446 compar: ::Option<unsafe extern "C" fn(*const c_void, *const c_void) -> c_int>, in bsearch()
459 pub fn fflush(file: *mut FILE) -> c_int; in fflush()
460 pub fn fclose(file: *mut FILE) -> c_int; in fclose()
461 pub fn remove(filename: *const c_char) -> c_int; in remove()
462 pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; in rename()
464 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf()
467 pub fn putchar(c: c_int) -> c_int; in putchar()
468 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc()
469 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets()
470 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc()
475 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs()
476 pub fn puts(s: *const c_char) -> c_int; in puts()
477 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc()
484 pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; in fseek()
488 pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int; in fgetpos()
490 pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int; in fsetpos()
491 pub fn feof(stream: *mut FILE) -> c_int; in feof()
492 pub fn ferror(stream: *mut FILE) -> c_int; in ferror()
496 pub fn atoi(s: *const c_char) -> c_int; in atoi()
514 pub fn exit(status: c_int) -> !; in exit()
515 pub fn _exit(status: c_int) -> !; in _exit()
520 pub fn system(s: *const c_char) -> c_int; in system()
528 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; in strcmp()
529 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp()
530 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll()
539 pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; in strcasecmp()
540 pub fn strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int; in strncasecmp()
555 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr()
557 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp()
560 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset()
569 pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; in fprintf()
570 pub fn printf(format: *const ::c_char, ...) -> ::c_int; in printf()
571 pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; in snprintf()
572 pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; in sprintf()
577 pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; in fscanf()
582 pub fn scanf(format: *const ::c_char, ...) -> ::c_int; in scanf()
587 pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; in sscanf()
589 pub fn putchar_unlocked(c: ::c_int) -> ::c_int; in putchar_unlocked()
599 pub fn socket(domain: ::c_int, ty: ::c_int, protocol: ::c_int) -> ::c_int; in socket()
611 pub fn connect(socket: ::c_int, address: *const sockaddr, len: socklen_t) -> ::c_int; in connect()
617 pub fn listen(socket: ::c_int, backlog: ::c_int) -> ::c_int; in listen()
628 pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; in accept()
640 socket: ::c_int, in getpeername()
643 ) -> ::c_int; in getpeername()
655 socket: ::c_int, in getsockname()
658 ) -> ::c_int; in getsockname()
661 socket: ::c_int, in setsockopt()
662 level: ::c_int, in setsockopt()
663 name: ::c_int, in setsockopt()
666 ) -> ::c_int; in setsockopt()
673 domain: ::c_int, in socketpair()
674 type_: ::c_int, in socketpair()
675 protocol: ::c_int, in socketpair()
676 socket_vector: *mut ::c_int, in socketpair()
677 ) -> ::c_int; in socketpair()
690 socket: ::c_int, in sendto()
693 flags: ::c_int, in sendto()
698 pub fn shutdown(socket: ::c_int, how: ::c_int) -> ::c_int; in shutdown()
704 pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; in chmod()
709 pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int; in fchmod()
720 pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; in fstat()
722 pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; in mkdir()
733 pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; in stat()
735 pub fn pclose(stream: *mut ::FILE) -> ::c_int; in pclose()
740 pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE; in fdopen()
741 pub fn fileno(stream: *mut ::FILE) -> ::c_int; in fileno()
747 pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; in open()
752 pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; in creat()
757 pub fn fcntl(fd: ::c_int, cmd: ::c_int, ...) -> ::c_int; in fcntl()
784 pub fn closedir(dirp: *mut ::DIR) -> ::c_int; in closedir()
796 dirfd: ::c_int, in fchmodat()
799 flags: ::c_int, in fchmodat()
800 ) -> ::c_int; in fchmodat()
801 pub fn fchown(fd: ::c_int, owner: ::uid_t, group: ::gid_t) -> ::c_int; in fchown()
803 dirfd: ::c_int, in fchownat()
807 flags: ::c_int, in fchownat()
808 ) -> ::c_int; in fchownat()
818 dirfd: ::c_int, in fstatat()
821 flags: ::c_int, in fstatat()
822 ) -> ::c_int; in fstatat()
824 olddirfd: ::c_int, in linkat()
826 newdirfd: ::c_int, in linkat()
828 flags: ::c_int, in linkat()
829 ) -> ::c_int; in linkat()
831 olddirfd: ::c_int, in renameat()
833 newdirfd: ::c_int, in renameat()
835 ) -> ::c_int; in renameat()
838 newdirfd: ::c_int, in symlinkat()
840 ) -> ::c_int; in symlinkat()
841 pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; in unlinkat()
843 pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; in access()
845 pub fn chdir(dir: *const c_char) -> ::c_int; in chdir()
846 pub fn fchdir(dirfd: ::c_int) -> ::c_int; in fchdir()
847 pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; in chown()
852 pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; in lchown()
861 pub fn close(fd: ::c_int) -> ::c_int; in close()
862 pub fn dup(fd: ::c_int) -> ::c_int; in dup()
863 pub fn dup2(src: ::c_int, dst: ::c_int) -> ::c_int; in dup2()
864 pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int; in execl()
865 pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; in execle()
866 pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; in execlp()
867 pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int; in execv()
872 ) -> ::c_int; in execve()
873 pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; in execvp()
875 pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long; in fpathconf()
880 pub fn getgroups(ngroups_max: ::c_int, groups: *mut gid_t) -> ::c_int; in getgroups()
887 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()
893 pub fn isatty(fd: ::c_int) -> ::c_int; in isatty()
894 pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; in link()
895 pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; in lseek()
897 pub fn pipe(fds: *mut ::c_int) -> ::c_int; in pipe()
898 pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int; in posix_memalign()
903 pub fn read(fd: ::c_int, buf: *mut ::c_void, count: ::size_t) -> ::ssize_t; in read()
904 pub fn rmdir(path: *const c_char) -> ::c_int; in rmdir()
905 pub fn seteuid(uid: uid_t) -> ::c_int; in seteuid()
906 pub fn setegid(gid: gid_t) -> ::c_int; in setegid()
907 pub fn setgid(gid: gid_t) -> ::c_int; in setgid()
908 pub fn setpgid(pid: pid_t, pgid: pid_t) -> ::c_int; in setpgid()
910 pub fn setuid(uid: uid_t) -> ::c_int; in setuid()
911 pub fn setreuid(ruid: uid_t, euid: uid_t) -> ::c_int; in setreuid()
912 pub fn setregid(rgid: gid_t, egid: gid_t) -> ::c_int; in setregid()
923 pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> ::c_int; in nanosleep()
925 pub fn tcsetpgrp(fd: ::c_int, pgrp: ::pid_t) -> ::c_int; in tcsetpgrp()
932 pub fn ttyname_r(fd: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; in ttyname_r()
933 pub fn unlink(c: *const c_char) -> ::c_int; in unlink()
943 pub fn waitpid(pid: pid_t, status: *mut ::c_int, options: ::c_int) -> pid_t; in waitpid()
948 pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t; in write()
953 pub fn pread(fd: ::c_int, buf: *mut ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; in pread()
958 pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; in pwrite()
962 pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int; in utime()
968 pub fn kill(pid: pid_t, sig: ::c_int) -> ::c_int; in kill()
973 pub fn killpg(pgrp: pid_t, sig: ::c_int) -> ::c_int; in killpg()
975 pub fn mlock(addr: *const ::c_void, len: ::size_t) -> ::c_int; in mlock()
976 pub fn munlock(addr: *const ::c_void, len: ::size_t) -> ::c_int; in munlock()
977 pub fn mlockall(flags: ::c_int) -> ::c_int; in mlockall()
987 prot: ::c_int, in mmap()
988 flags: ::c_int, in mmap()
989 fd: ::c_int, in mmap()
996 pub fn munmap(addr: *mut ::c_void, len: ::size_t) -> ::c_int; in munmap()
1010 pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; in lstat()
1016 pub fn fsync(fd: ::c_int) -> ::c_int; in fsync()
1022 pub fn setenv(name: *const c_char, val: *const c_char, overwrite: ::c_int) -> ::c_int; in setenv()
1028 pub fn unsetenv(name: *const c_char) -> ::c_int; in unsetenv()
1030 pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; in symlink()
1032 pub fn truncate(path: *const c_char, length: off_t) -> ::c_int; in truncate()
1033 pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int; in ftruncate()
1035 pub fn signal(signum: ::c_int, handler: sighandler_t) -> sighandler_t; in signal()
1038 pub fn getrusage(resource: ::c_int, usage: *mut rusage) -> ::c_int; in getrusage()
1051 pub fn flock(fd: ::c_int, operation: ::c_int) -> ::c_int; in flock()
1061 pub fn pthread_join(native: ::pthread_t, value: *mut *mut ::c_void) -> ::c_int; in pthread_join()
1063 pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int; in pthread_attr_init()
1064 pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int; in pthread_attr_destroy()
1068 ) -> ::c_int; in pthread_attr_getstacksize()
1069 pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t, stack_size: ::size_t) -> ::c_int; in pthread_attr_setstacksize()
1070 pub fn pthread_attr_setdetachstate(attr: *mut ::pthread_attr_t, state: ::c_int) -> ::c_int; in pthread_attr_setdetachstate()
1071 pub fn pthread_detach(thread: ::pthread_t) -> ::c_int; in pthread_detach()
1077 ) -> ::c_int; in pthread_key_create()
1078 pub fn pthread_key_delete(key: pthread_key_t) -> ::c_int; in pthread_key_delete()
1080 pub fn pthread_setspecific(key: pthread_key_t, value: *const ::c_void) -> ::c_int; in pthread_setspecific()
1084 ) -> ::c_int; in pthread_mutex_init()
1085 pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_destroy()
1086 pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_lock()
1087 pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_trylock()
1088 pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int; in pthread_mutex_unlock()
1090 pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int; in pthread_mutexattr_init()
1095 pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> ::c_int; in pthread_mutexattr_destroy()
1096 pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, _type: ::c_int) -> ::c_int; in pthread_mutexattr_settype()
1102 pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) in pthread_cond_init()
1108 pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> ::c_int; in pthread_cond_wait()
1117 ) -> ::c_int; in pthread_cond_timedwait()
1118 pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> ::c_int; in pthread_cond_signal()
1119 pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> ::c_int; in pthread_cond_broadcast()
1120 pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> ::c_int; in pthread_cond_destroy()
1121 pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> ::c_int; in pthread_condattr_init()
1122 pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> ::c_int; in pthread_condattr_destroy()
1130 ) -> ::c_int; in pthread_rwlock_init()
1135 pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_destroy()
1140 pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_rdlock()
1145 pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_tryrdlock()
1150 pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_wrlock()
1155 pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_trywrlock()
1160 pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> ::c_int; in pthread_rwlock_unlock()
1161 pub fn pthread_rwlockattr_init(attr: *mut pthread_rwlockattr_t) -> ::c_int; in pthread_rwlockattr_init()
1162 pub fn pthread_rwlockattr_destroy(attr: *mut pthread_rwlockattr_t) -> ::c_int; in pthread_rwlockattr_destroy()
1167 sockfd: ::c_int, in getsockopt()
1168 level: ::c_int, in getsockopt()
1169 optname: ::c_int, in getsockopt()
1172 ) -> ::c_int; in getsockopt()
1173 pub fn raise(signum: ::c_int) -> ::c_int; in raise()
1176 pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; in utimes()
1180 pub fn dlclose(handle: *mut ::c_void) -> ::c_int; in dlclose()
1194 ) -> ::c_int; in getaddrinfo()
1269 pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; in mknod()
1270 pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; in gethostname()
1273 pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent; in getservbyport()
1275 pub fn setservent(stayopen: ::c_int); in setservent()
1278 pub fn chroot(name: *const ::c_char) -> ::c_int; in chroot()
1283 pub fn usleep(secs: ::c_uint) -> ::c_int; in usleep()
1289 pub fn send(socket: ::c_int, buf: *const ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t; in send()
1295 pub fn recv(socket: ::c_int, buf: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t; in recv()
1301 pub fn putenv(string: *mut c_char) -> ::c_int; in putenv()
1306 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; in poll()
1317 nfds: ::c_int, in select()
1322 ) -> ::c_int; in select()
1324 pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; in setlocale()
1331 pub fn sem_wait(sem: *mut sem_t) -> ::c_int; in sem_wait()
1332 pub fn sem_trywait(sem: *mut sem_t) -> ::c_int; in sem_trywait()
1333 pub fn sem_post(sem: *mut sem_t) -> ::c_int; in sem_post()
1334 pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; in statvfs()
1335 pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int; in fstatvfs()
1338 pub fn sigemptyset(set: *mut sigset_t) -> ::c_int; in sigemptyset()
1340 pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; in sigaddset()
1342 pub fn sigfillset(set: *mut sigset_t) -> ::c_int; in sigfillset()
1344 pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; in sigdelset()
1346 pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int; in sigismember()
1349 pub fn sigprocmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; in sigprocmask()
1351 pub fn sigpending(set: *mut sigset_t) -> ::c_int; in sigpending()
1355 pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; in mkfifo()
1357 pub fn fseeko(stream: *mut ::FILE, offset: ::off_t, whence: ::c_int) -> ::c_int; in fseeko()
1363 pub fn tcdrain(fd: ::c_int) -> ::c_int; in tcdrain()
1366 pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; in cfsetispeed()
1367 pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; in cfsetospeed()
1368 pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int; in tcgetattr()
1369 pub fn tcsetattr(fd: ::c_int, optional_actions: ::c_int, termios: *const ::termios) -> ::c_int; in tcsetattr()
1370 pub fn tcflow(fd: ::c_int, action: ::c_int) -> ::c_int; in tcflow()
1371 pub fn tcflush(fd: ::c_int, action: ::c_int) -> ::c_int; in tcflush()
1373 pub fn tcsendbreak(fd: ::c_int, duration: ::c_int) -> ::c_int; in tcsendbreak()
1374 pub fn mkstemp(template: *mut ::c_char) -> ::c_int; in mkstemp()
1379 pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); in openlog()
1381 pub fn setlogmask(maskpri: ::c_int) -> ::c_int; in setlogmask()
1383 pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); in syslog()
1388 pub fn nice(incr: ::c_int) -> ::c_int; in nice()
1390 pub fn grantpt(fd: ::c_int) -> ::c_int; in grantpt()
1391 pub fn posix_openpt(flags: ::c_int) -> ::c_int; in posix_openpt()
1393 pub fn unlockpt(fd: ::c_int) -> ::c_int; in unlockpt()
1398 pub fn lockf(fd: ::c_int, cmd: ::c_int, len: ::off_t) -> ::c_int; in lockf()