• Home
  • Raw
  • Download

Lines Matching defs:c_int

8 pub type c_int = i32;  typedef
455 pub fn _Exit(code: c_int) -> !; in _Exit()
456 pub fn _exit(code: c_int) -> !; in _exit()
460 pub fn exit(code: c_int) -> !; in exit()
467 pub fn read(fd: c_int, ptr: *mut c_void, size: size_t) -> ssize_t; in read()
469 pub fn setenv(k: *const c_char, v: *const c_char, a: c_int) -> c_int; in setenv()
470 pub fn unsetenv(k: *const c_char) -> c_int; in unsetenv()
472 pub fn write(fd: c_int, ptr: *const c_void, size: size_t) -> ssize_t; in write()
476 pub fn fclose(f: *mut FILE) -> c_int; in fclose()
477 pub fn remove(a: *const c_char) -> c_int; in remove()
478 pub fn rename(a: *const c_char, b: *const c_char) -> c_int; in rename()
479 pub fn feof(f: *mut FILE) -> c_int; in feof()
480 pub fn ferror(f: *mut FILE) -> c_int; in ferror()
481 pub fn fflush(f: *mut FILE) -> c_int; in fflush()
483 pub fn fseek(f: *mut FILE, b: c_long, c: c_int) -> c_int; in fseek()
486 pub fn fgetpos(f: *mut FILE, pos: *mut fpos_t) -> c_int; in fgetpos()
487 pub fn fsetpos(f: *mut FILE, pos: *const fpos_t) -> c_int; in fsetpos()
490 pub fn fgetc(f: *mut FILE) -> c_int; in fgetc()
491 pub fn getc(f: *mut FILE) -> c_int; in getc()
493 pub fn ungetc(a: c_int, f: *mut FILE) -> c_int; in ungetc()
494 pub fn fputc(a: c_int, f: *mut FILE) -> c_int; in fputc()
495 pub fn putc(a: c_int, f: *mut FILE) -> c_int; in putc()
496 pub fn putchar(a: c_int) -> c_int; in putchar()
497 pub fn fputs(a: *const c_char, f: *mut FILE) -> c_int; in fputs()
498 pub fn puts(a: *const c_char) -> c_int; in puts()
501 pub fn atexit(a: extern "C" fn()) -> c_int; in atexit()
502 pub fn at_quick_exit(a: extern "C" fn()) -> c_int; in at_quick_exit()
503 pub fn quick_exit(a: c_int) -> !; in quick_exit()
504 pub fn posix_memalign(a: *mut *mut c_void, b: size_t, c: size_t) -> c_int; in posix_memalign()
505 pub fn rand_r(a: *mut c_uint) -> c_int; in rand_r()
508 pub fn putenv(a: *mut c_char) -> c_int; in putenv()
525 pub fn nanosleep(a: *const timespec, b: *mut timespec) -> c_int; in nanosleep()
526 pub fn clock_getres(a: clockid_t, b: *mut timespec) -> c_int; in clock_getres()
527 pub fn clock_gettime(a: clockid_t, b: *mut timespec) -> c_int; in clock_gettime()
528 pub fn clock_nanosleep(a: clockid_t, a2: c_int, b: *const timespec, c: *mut timespec) -> c_int; in clock_nanosleep()
530 pub fn isalnum(c: c_int) -> c_int; in isalnum()
531 pub fn isalpha(c: c_int) -> c_int; in isalpha()
532 pub fn iscntrl(c: c_int) -> c_int; in iscntrl()
533 pub fn isdigit(c: c_int) -> c_int; in isdigit()
534 pub fn isgraph(c: c_int) -> c_int; in isgraph()
535 pub fn islower(c: c_int) -> c_int; in islower()
536 pub fn isprint(c: c_int) -> c_int; in isprint()
537 pub fn ispunct(c: c_int) -> c_int; in ispunct()
538 pub fn isspace(c: c_int) -> c_int; in isspace()
539 pub fn isupper(c: c_int) -> c_int; in isupper()
540 pub fn isxdigit(c: c_int) -> c_int; in isxdigit()
541 pub fn isblank(c: c_int) -> c_int; in isblank()
542 pub fn tolower(c: c_int) -> c_int; in tolower()
543 pub fn toupper(c: c_int) -> c_int; in toupper()
544 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf()
546 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets()
548 pub fn atoi(s: *const c_char) -> c_int; in atoi()
562 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; in strcmp()
563 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp()
564 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll()
573 pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; in strcasecmp()
574 pub fn strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int; in strncasecmp()
581 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr()
582 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp()
585 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset()
587 pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; in fprintf()
588 pub fn printf(format: *const ::c_char, ...) -> ::c_int; in printf()
589 pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; in snprintf()
590 pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; in sprintf()
591 pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; in fscanf()
592 pub fn scanf(format: *const ::c_char, ...) -> ::c_int; in scanf()
593 pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; in sscanf()
595 pub fn putchar_unlocked(c: ::c_int) -> ::c_int; in putchar_unlocked()
597 pub fn shutdown(socket: ::c_int, how: ::c_int) -> ::c_int; in shutdown()
598 pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; in fstat()
599 pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; in mkdir()
600 pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; in stat()
601 pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE; in fdopen()
602 pub fn fileno(stream: *mut ::FILE) -> ::c_int; in fileno()
603 pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; in open()
604 pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; in creat()
605 pub fn fcntl(fd: ::c_int, cmd: ::c_int, ...) -> ::c_int; in fcntl()
609 pub fn closedir(dirp: *mut ::DIR) -> ::c_int; in closedir()
611 pub fn dirfd(dirp: *mut ::DIR) -> ::c_int; in dirfd()
615 pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int, ...) -> ::c_int; in openat()
617 dirfd: ::c_int, in fstatat()
620 flags: ::c_int, in fstatat()
621 ) -> ::c_int; in fstatat()
623 olddirfd: ::c_int, in linkat()
625 newdirfd: ::c_int, in linkat()
627 flags: ::c_int, in linkat()
628 ) -> ::c_int; in linkat()
629 pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, mode: ::mode_t) -> ::c_int; in mkdirat()
631 dirfd: ::c_int, in readlinkat()
637 olddirfd: ::c_int, in renameat()
639 newdirfd: ::c_int, in renameat()
641 ) -> ::c_int; in renameat()
644 newdirfd: ::c_int, in symlinkat()
646 ) -> ::c_int; in symlinkat()
647 pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; in unlinkat()
649 pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; in access()
650 pub fn close(fd: ::c_int) -> ::c_int; in close()
651 pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long; in fpathconf()
652 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()
653 pub fn isatty(fd: ::c_int) -> ::c_int; in isatty()
654 pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; in link()
655 pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; in lseek()
657 pub fn rmdir(path: *const c_char) -> ::c_int; in rmdir()
659 pub fn unlink(c: *const c_char) -> ::c_int; in unlink()
660 pub fn pread(fd: ::c_int, buf: *mut ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; in pread()
661 pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; in pwrite()
663 pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; in lstat()
665 pub fn fsync(fd: ::c_int) -> ::c_int; in fsync()
666 pub fn fdatasync(fd: ::c_int) -> ::c_int; in fdatasync()
668 pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; in symlink()
670 pub fn truncate(path: *const c_char, length: off_t) -> ::c_int; in truncate()
671 pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int; in ftruncate()
673 pub fn getrusage(resource: ::c_int, usage: *mut rusage) -> ::c_int; in getrusage()
675 pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int; in gettimeofday()
678 pub fn strerror_r(errnum: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; in strerror_r()
680 pub fn usleep(secs: ::c_uint) -> ::c_int; in usleep()
681 pub fn send(socket: ::c_int, buf: *const ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t; in send()
682 pub fn recv(socket: ::c_int, buf: *mut ::c_void, len: ::size_t, flags: ::c_int) -> ::ssize_t; in recv()
683 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; in poll()
684 pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; in setlocale()
693 pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::c_int; in ioctl()
695 pub fn fseeko(stream: *mut ::FILE, offset: ::off_t, whence: ::c_int) -> ::c_int; in fseeko()
697 pub fn posix_fallocate(fd: ::c_int, offset: ::off_t, len: ::off_t) -> ::c_int; in posix_fallocate()
703 dirfd: ::c_int, in faccessat()
705 mode: ::c_int, in faccessat()
706 flags: ::c_int, in faccessat()
707 ) -> ::c_int; in faccessat()
708 pub fn writev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in writev()
709 pub fn readv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int) -> ::ssize_t; in readv()
710 pub fn pwritev(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) in pwritev()
712 pub fn preadv(fd: ::c_int, iov: *const ::iovec, iovcnt: ::c_int, offset: ::off_t) -> ::ssize_t; in preadv()
713 pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t, advise: ::c_int) -> ::c_int; in posix_fadvise()
714 pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int; in futimens()
716 dirfd: ::c_int, in utimensat()
719 flag: ::c_int, in utimensat()
720 ) -> ::c_int; in utimensat()
721 pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int; in getentropy()
722 pub fn memrchr(cx: *const ::c_void, c: ::c_int, n: ::size_t) -> *mut ::c_void; in memrchr()
723 pub fn abs(i: c_int) -> c_int; in abs()
727 pub fn newlocale(mask: ::c_int, locale: *const ::c_char, base: ::locale_t) -> ::locale_t; in newlocale()
731 pub fn chdir(dir: *const c_char) -> ::c_int; in chdir()
736 pub fn __wasilibc_register_preopened_fd(fd: c_int, path: *const c_char) -> c_int; in __wasilibc_register_preopened_fd()
737 pub fn __wasilibc_fd_renumber(fd: c_int, newfd: c_int) -> c_int; in __wasilibc_fd_renumber()
738 pub fn __wasilibc_unlinkat(fd: c_int, path: *const c_char) -> c_int; in __wasilibc_unlinkat()
739 pub fn __wasilibc_rmdirat(fd: c_int, path: *const c_char) -> c_int; in __wasilibc_rmdirat()
745 ) -> c_int; in __wasilibc_find_relpath()
747 pub fn __wasilibc_nocwd___wasilibc_unlinkat(dirfd: c_int, path: *const c_char) -> c_int; in __wasilibc_nocwd___wasilibc_unlinkat()
748 pub fn __wasilibc_nocwd___wasilibc_rmdirat(dirfd: c_int, path: *const c_char) -> c_int; in __wasilibc_nocwd___wasilibc_rmdirat()
750 olddirfd: c_int, in __wasilibc_nocwd_linkat()
752 newdirfd: c_int, in __wasilibc_nocwd_linkat()
754 flags: c_int, in __wasilibc_nocwd_linkat()
755 ) -> c_int; in __wasilibc_nocwd_linkat()
758 dirfd: c_int, in __wasilibc_nocwd_symlinkat()
760 ) -> c_int; in __wasilibc_nocwd_symlinkat()
762 dirfd: c_int, in __wasilibc_nocwd_readlinkat()
768 dirfd: c_int, in __wasilibc_nocwd_faccessat()
770 mode: c_int, in __wasilibc_nocwd_faccessat()
771 flags: c_int, in __wasilibc_nocwd_faccessat()
772 ) -> c_int; in __wasilibc_nocwd_faccessat()
774 olddirfd: c_int, in __wasilibc_nocwd_renameat()
776 newdirfd: c_int, in __wasilibc_nocwd_renameat()
778 ) -> c_int; in __wasilibc_nocwd_renameat()
779 pub fn __wasilibc_nocwd_openat_nomode(dirfd: c_int, path: *const c_char, flags: c_int) in __wasilibc_nocwd_openat_nomode()
780 -> c_int; in __wasilibc_nocwd_openat_nomode()
782 dirfd: c_int, in __wasilibc_nocwd_fstatat()
785 flags: c_int, in __wasilibc_nocwd_fstatat()
786 ) -> c_int; in __wasilibc_nocwd_fstatat()
787 pub fn __wasilibc_nocwd_mkdirat_nomode(dirfd: c_int, path: *const c_char) -> c_int; in __wasilibc_nocwd_mkdirat_nomode()
789 dirfd: c_int, in __wasilibc_nocwd_utimensat()
792 flags: c_int, in __wasilibc_nocwd_utimensat()
793 ) -> c_int; in __wasilibc_nocwd_utimensat()
794 pub fn __wasilibc_nocwd_opendirat(dirfd: c_int, path: *const c_char) -> *mut ::DIR; in __wasilibc_nocwd_opendirat()
795 pub fn __wasilibc_access(pathname: *const c_char, mode: c_int, flags: c_int) -> c_int; in __wasilibc_access()
796 pub fn __wasilibc_stat(pathname: *const c_char, buf: *mut stat, flags: c_int) -> c_int; in __wasilibc_stat()
800 flags: c_int, in __wasilibc_utimens()
801 ) -> c_int; in __wasilibc_utimens()
802 pub fn __wasilibc_link(oldpath: *const c_char, newpath: *const c_char, flags: c_int) -> c_int; in __wasilibc_link()
804 olddirfd: c_int, in __wasilibc_link_oldat()
807 flags: c_int, in __wasilibc_link_oldat()
808 ) -> c_int; in __wasilibc_link_oldat()
811 newdirfd: c_int, in __wasilibc_link_newat()
813 flags: c_int, in __wasilibc_link_newat()
814 ) -> c_int; in __wasilibc_link_newat()
816 olddirfd: c_int, in __wasilibc_rename_oldat()
819 ) -> c_int; in __wasilibc_rename_oldat()
822 newdirfd: c_int, in __wasilibc_rename_newat()
824 ) -> c_int; in __wasilibc_rename_newat()