Lines Matching refs:c_int
26 pub type pid_t = c_int;
39 pub type errno_t = c_int;
47 pub type clockid_t = c_int;
51 pub type mode_t = c_int;
68 pub type BOOL = c_int;
71 pub type _Vx_OBJ_HANDLE = c_int;
97 pub type mqd_t = c_int;
125 pub unsafe fn si_status(&self) -> c_int { in si_status() argument
133 pub condAttrStatus: c_int,
134 pub condAttrPshared: c_int,
141 pub condValid: c_int,
142 pub condInitted: c_int,
143 pub condRefCount: c_int,
151 pub rwlockAttrStatus: c_int,
152 pub rwlockAttrPshared: c_int,
161 pub rwlockValid: c_int,
162 pub rwlockInitted: c_int,
175 pub l_onoff: c_int,
176 pub l_linger: c_int,
194 pub msg_iovlen: c_int,
197 pub msg_flags: c_int,
202 pub cmsg_level: c_int,
203 pub cmsg_type: c_int,
208 pub fd: c_int,
235 pub st_reserved1: c_int,
236 pub st_reserved2: c_int,
237 pub st_reserved3: c_int,
238 pub st_reserved4: c_int,
249 pub sched_priority: c_int, /* scheduling priority */
250 pub sched_ss_low_priority: c_int, /* low scheduling priority */
253 pub sched_ss_max_repl: c_int, /* max pending replenishment */
258 pub threadAttrStatus: c_int,
262 pub threadAttrDetachstate: c_int,
263 pub threadAttrContentionscope: c_int,
264 pub threadAttrInheritsched: c_int,
265 pub threadAttrSchedpolicy: c_int,
267 pub threadAttrOptions: c_int,
276 pub sa_flags: c_int,
283 pub ss_flags: c_int,
288 pub si_signo: c_int,
289 pub si_code: c_int,
291 pub si_errno: c_int,
292 pub si_status: c_int,
301 mutexAttrStatus: c_int,
302 mutexAttrPshared: c_int,
303 mutexAttrProtocol: c_int,
304 mutexAttrPrioceiling: c_int,
305 mutexAttrType: c_int,
312 pub mutexValid: c_int,
313 pub mutexInitted: c_int,
314 pub mutexCondRefCount: c_int,
315 pub mutexSavPriority: c_int,
328 pub tm_sec: c_int,
329 pub tm_min: c_int,
330 pub tm_hour: c_int,
331 pub tm_mday: c_int,
332 pub tm_mon: c_int,
333 pub tm_year: c_int,
334 pub tm_wday: c_int,
335 pub tm_yday: c_int,
336 pub tm_isdst: c_int,
364 pub ai_flags: c_int,
365 pub ai_family: c_int,
366 pub ai_socktype: c_int,
367 pub ai_protocol: c_int,
424 pub status: c_int,
430 pub taskCnt: c_int,
444 pub sa_handler: Option<unsafe extern "C" fn(c_int) -> !>,
446 Option<unsafe extern "C" fn(c_int, *mut crate::siginfo_t, *mut c_void) -> !>,
450 pub sival_int: c_int,
499 pub const STDIN_FILENO: c_int = 0;
500 pub const STDOUT_FILENO: c_int = 1;
501 pub const STDERR_FILENO: c_int = 2;
503 pub const EXIT_SUCCESS: c_int = 0;
504 pub const EXIT_FAILURE: c_int = 1;
506 pub const EAI_SERVICE: c_int = 9;
507 pub const EAI_SOCKTYPE: c_int = 10;
508 pub const EAI_SYSTEM: c_int = 11;
515 pub const CLOCK_REALTIME: c_int = 0x0;
516 pub const CLOCK_MONOTONIC: c_int = 0x1;
517 pub const CLOCK_PROCESS_CPUTIME_ID: c_int = 0x2;
518 pub const CLOCK_THREAD_CPUTIME_ID: c_int = 0x3;
519 pub const TIMER_ABSTIME: c_int = 0x1;
520 pub const TIMER_RELTIME: c_int = 0x0;
523 pub const PTHREAD_INITIALIZED_OBJ: c_int = 0xF70990EF;
524 pub const PTHREAD_DESTROYED_OBJ: c_int = -1;
525 pub const PTHREAD_VALID_OBJ: c_int = 0xEC542A37;
526 pub const PTHREAD_INVALID_OBJ: c_int = -1;
527 pub const PTHREAD_UNUSED_YET_OBJ: c_int = -1;
529 pub const PTHREAD_PRIO_NONE: c_int = 0;
530 pub const PTHREAD_PRIO_INHERIT: c_int = 1;
531 pub const PTHREAD_PRIO_PROTECT: c_int = 2;
533 pub const PTHREAD_MUTEX_NORMAL: c_int = 0;
534 pub const PTHREAD_MUTEX_ERRORCHECK: c_int = 1;
535 pub const PTHREAD_MUTEX_RECURSIVE: c_int = 2;
536 pub const PTHREAD_MUTEX_DEFAULT: c_int = PTHREAD_MUTEX_NORMAL;
541 pub const SCHED_FIFO: c_int = 0x01;
542 pub const SCHED_RR: c_int = 0x02;
543 pub const SCHED_OTHER: c_int = 0x04;
544 pub const SCHED_SPORADIC: c_int = 0x08;
546 pub const SCHED_FIFO_HIGH_PRI: c_int = 255;
547 pub const SCHED_FIFO_LOW_PRI: c_int = 0;
548 pub const SCHED_RR_HIGH_PRI: c_int = 255;
549 pub const SCHED_RR_LOW_PRI: c_int = 0;
550 pub const SCHED_SPORADIC_HIGH_PRI: c_int = 255;
551 pub const SCHED_SPORADIC_LOW_PRI: c_int = 0;
554 pub const ERROR: c_int = -1;
555 pub const OK: c_int = 0;
556 pub const EPERM: c_int = 1; /* Not owner */
557 pub const ENOENT: c_int = 2; /* No such file or directory */
558 pub const ESRCH: c_int = 3; /* No such process */
559 pub const EINTR: c_int = 4; /* Interrupted system call */
560 pub const EIO: c_int = 5; /* I/O error */
561 pub const ENXIO: c_int = 6; /* No such device or address */
562 pub const E2BIG: c_int = 7; /* Arg list too long */
563 pub const ENOEXEC: c_int = 8; /* Exec format error */
564 pub const EBADF: c_int = 9; /* Bad file number */
565 pub const ECHILD: c_int = 10; /* No children */
566 pub const EAGAIN: c_int = 11; /* No more processes */
567 pub const ENOMEM: c_int = 12; /* Not enough core */
568 pub const EACCES: c_int = 13; /* Permission denied */
569 pub const EFAULT: c_int = 14;
570 pub const ENOTEMPTY: c_int = 15;
571 pub const EBUSY: c_int = 16;
572 pub const EEXIST: c_int = 17;
573 pub const EXDEV: c_int = 18;
574 pub const ENODEV: c_int = 19;
575 pub const ENOTDIR: c_int = 20;
576 pub const EISDIR: c_int = 21;
577 pub const EINVAL: c_int = 22;
578 pub const ENFILE: c_int = 23;
579 pub const EMFILE: c_int = 24;
580 pub const ENOTTY: c_int = 25;
581 pub const ENAMETOOLONG: c_int = 26;
582 pub const EFBIG: c_int = 27;
583 pub const ENOSPC: c_int = 28;
584 pub const ESPIPE: c_int = 29;
585 pub const EROFS: c_int = 30;
586 pub const EMLINK: c_int = 31;
587 pub const EPIPE: c_int = 32;
588 pub const EDEADLK: c_int = 33;
589 pub const ENOLCK: c_int = 34;
590 pub const ENOTSUP: c_int = 35;
591 pub const EMSGSIZE: c_int = 36;
592 pub const EDOM: c_int = 37;
593 pub const ERANGE: c_int = 38;
594 pub const EDOOM: c_int = 39;
595 pub const EDESTADDRREQ: c_int = 40;
596 pub const EPROTOTYPE: c_int = 41;
597 pub const ENOPROTOOPT: c_int = 42;
598 pub const EPROTONOSUPPORT: c_int = 43;
599 pub const ESOCKTNOSUPPORT: c_int = 44;
600 pub const EOPNOTSUPP: c_int = 45;
601 pub const EPFNOSUPPORT: c_int = 46;
602 pub const EAFNOSUPPORT: c_int = 47;
603 pub const EADDRINUSE: c_int = 48;
604 pub const EADDRNOTAVAIL: c_int = 49;
605 pub const ENOTSOCK: c_int = 50;
606 pub const ENETUNREACH: c_int = 51;
607 pub const ENETRESET: c_int = 52;
608 pub const ECONNABORTED: c_int = 53;
609 pub const ECONNRESET: c_int = 54;
610 pub const ENOBUFS: c_int = 55;
611 pub const EISCONN: c_int = 56;
612 pub const ENOTCONN: c_int = 57;
613 pub const ESHUTDOWN: c_int = 58;
614 pub const ETOOMANYREFS: c_int = 59;
615 pub const ETIMEDOUT: c_int = 60;
616 pub const ECONNREFUSED: c_int = 61;
617 pub const ENETDOWN: c_int = 62;
618 pub const ETXTBSY: c_int = 63;
619 pub const ELOOP: c_int = 64;
620 pub const EHOSTUNREACH: c_int = 65;
621 pub const ENOTBLK: c_int = 66;
622 pub const EHOSTDOWN: c_int = 67;
623 pub const EINPROGRESS: c_int = 68;
624 pub const EALREADY: c_int = 69;
625 pub const EWOULDBLOCK: c_int = 70;
626 pub const ENOSYS: c_int = 71;
627 pub const ECANCELED: c_int = 72;
628 pub const ENOSR: c_int = 74;
629 pub const ENOSTR: c_int = 75;
630 pub const EPROTO: c_int = 76;
631 pub const EBADMSG: c_int = 77;
632 pub const ENODATA: c_int = 78;
633 pub const ETIME: c_int = 79;
634 pub const ENOMSG: c_int = 80;
635 pub const EFPOS: c_int = 81;
636 pub const EILSEQ: c_int = 82;
637 pub const EDQUOT: c_int = 83;
638 pub const EIDRM: c_int = 84;
639 pub const EOVERFLOW: c_int = 85;
640 pub const EMULTIHOP: c_int = 86;
641 pub const ENOLINK: c_int = 87;
642 pub const ESTALE: c_int = 88;
643 pub const EOWNERDEAD: c_int = 89;
644 pub const ENOTRECOVERABLE: c_int = 90;
647 const M_nfsStat: c_int = 48 << 16;
659 pub const S_nfsLib_NFS_OK: c_int = OK;
660 pub const S_nfsLib_NFSERR_PERM: c_int = EPERM;
661 pub const S_nfsLib_NFSERR_NOENT: c_int = ENOENT;
662 pub const S_nfsLib_NFSERR_IO: c_int = EIO;
663 pub const S_nfsLib_NFSERR_NXIO: c_int = ENXIO;
664 pub const S_nfsLib_NFSERR_ACCESS: c_int = EACCES;
665 pub const S_nfsLib_NFSERR_EXIST: c_int = EEXIST;
666 pub const S_nfsLib_NFSERR_ENODEV: c_int = ENODEV;
667 pub const S_nfsLib_NFSERR_NOTDIR: c_int = ENOTDIR;
668 pub const S_nfsLib_NFSERR_ISDIR: c_int = EISDIR;
669 pub const S_nfsLib_NFSERR_INVAL: c_int = EINVAL;
670 pub const S_nfsLib_NFSERR_FBIG: c_int = EFBIG;
671 pub const S_nfsLib_NFSERR_NOSPC: c_int = ENOSPC;
672 pub const S_nfsLib_NFSERR_ROFS: c_int = EROFS;
673 pub const S_nfsLib_NFSERR_NAMETOOLONG: c_int = ENAMETOOLONG;
674 pub const S_nfsLib_NFSERR_NOTEMPTY: c_int = ENOTEMPTY;
675 pub const S_nfsLib_NFSERR_DQUOT: c_int = EDQUOT;
676 pub const S_nfsLib_NFSERR_STALE: c_int = ESTALE;
677 pub const S_nfsLib_NFSERR_WFLUSH: c_int = M_nfsStat | nfsstat::NFSERR_WFLUSH as c_int;
678 pub const S_nfsLib_NFSERR_REMOTE: c_int = M_nfsStat | nfsstat::NFSERR_REMOTE as c_int;
679 pub const S_nfsLib_NFSERR_BADHANDLE: c_int = M_nfsStat | nfsstat::NFSERR_BADHANDLE as c_int;
680 pub const S_nfsLib_NFSERR_NOT_SYNC: c_int = M_nfsStat | nfsstat::NFSERR_NOT_SYNC as c_int;
681 pub const S_nfsLib_NFSERR_BAD_COOKIE: c_int = M_nfsStat | nfsstat::NFSERR_BAD_COOKIE as c_int;
682 pub const S_nfsLib_NFSERR_NOTSUPP: c_int = EOPNOTSUPP;
683 pub const S_nfsLib_NFSERR_TOOSMALL: c_int = M_nfsStat | nfsstat::NFSERR_TOOSMALL as c_int;
684 pub const S_nfsLib_NFSERR_SERVERFAULT: c_int = EIO;
685 pub const S_nfsLib_NFSERR_BADTYPE: c_int = M_nfsStat | nfsstat::NFSERR_BADTYPE as c_int;
686 pub const S_nfsLib_NFSERR_JUKEBOX: c_int = M_nfsStat | nfsstat::NFSERR_JUKEBOX as c_int;
689 const taskErrorBase: c_int = 0x00030000;
690 const semErrorBase: c_int = 0x00160000;
691 const objErrorBase: c_int = 0x003d0000;
694 pub const S_taskLib_NAME_NOT_FOUND: c_int = taskErrorBase + 0x0065;
695 pub const S_taskLib_TASK_HOOK_TABLE_FULL: c_int = taskErrorBase + 0x0066;
696 pub const S_taskLib_TASK_HOOK_NOT_FOUND: c_int = taskErrorBase + 0x0067;
697 pub const S_taskLib_ILLEGAL_PRIORITY: c_int = taskErrorBase + 0x0068;
700 pub const VX_TASK_NAME_LENGTH: c_int = 31;
701 pub const VX_TASK_RENAME_LENGTH: c_int = 16;
704 pub const S_semLib_INVALID_STATE: c_int = semErrorBase + 0x0065;
705 pub const S_semLib_INVALID_OPTION: c_int = semErrorBase + 0x0066;
706 pub const S_semLib_INVALID_QUEUE_TYPE: c_int = semErrorBase + 0x0067;
707 pub const S_semLib_INVALID_OPERATION: c_int = semErrorBase + 0x0068;
710 pub const S_objLib_OBJ_ID_ERROR: c_int = objErrorBase + 0x0001;
711 pub const S_objLib_OBJ_UNAVAILABLE: c_int = objErrorBase + 0x0002;
712 pub const S_objLib_OBJ_DELETED: c_int = objErrorBase + 0x0003;
713 pub const S_objLib_OBJ_TIMEOUT: c_int = objErrorBase + 0x0004;
714 pub const S_objLib_OBJ_NO_METHOD: c_int = objErrorBase + 0x0005;
717 pub const IPPROTO_IP: c_int = 0;
718 pub const IPPROTO_IPV6: c_int = 41;
720 pub const IP_TTL: c_int = 4;
721 pub const IP_MULTICAST_IF: c_int = 9;
722 pub const IP_MULTICAST_TTL: c_int = 10;
723 pub const IP_MULTICAST_LOOP: c_int = 11;
724 pub const IP_ADD_MEMBERSHIP: c_int = 12;
725 pub const IP_DROP_MEMBERSHIP: c_int = 13;
728 pub const IPV6_V6ONLY: c_int = 1;
729 pub const IPV6_UNICAST_HOPS: c_int = 4;
730 pub const IPV6_MULTICAST_IF: c_int = 9;
731 pub const IPV6_MULTICAST_HOPS: c_int = 10;
732 pub const IPV6_MULTICAST_LOOP: c_int = 11;
733 pub const IPV6_ADD_MEMBERSHIP: c_int = 12;
734 pub const IPV6_DROP_MEMBERSHIP: c_int = 13;
737 pub const S_IFMT: c_int = 0o17_0000;
738 pub const S_IFIFO: c_int = 0o1_0000;
739 pub const S_IFCHR: c_int = 0o2_0000;
740 pub const S_IFDIR: c_int = 0o4_0000;
741 pub const S_IFBLK: c_int = 0o6_0000;
742 pub const S_IFREG: c_int = 0o10_0000;
743 pub const S_IFLNK: c_int = 0o12_0000;
744 pub const S_IFSHM: c_int = 0o13_0000;
745 pub const S_IFSOCK: c_int = 0o14_0000;
746 pub const S_ISUID: c_int = 0o4000;
747 pub const S_ISGID: c_int = 0o2000;
748 pub const S_ISTXT: c_int = 0o1000;
749 pub const S_ISVTX: c_int = 0o1000;
750 pub const S_IRUSR: c_int = 0o0400;
751 pub const S_IWUSR: c_int = 0o0200;
752 pub const S_IXUSR: c_int = 0o0100;
753 pub const S_IRWXU: c_int = 0o0700;
754 pub const S_IRGRP: c_int = 0o0040;
755 pub const S_IWGRP: c_int = 0o0020;
756 pub const S_IXGRP: c_int = 0o0010;
757 pub const S_IRWXG: c_int = 0o0070;
758 pub const S_IROTH: c_int = 0o0004;
759 pub const S_IWOTH: c_int = 0o0002;
760 pub const S_IXOTH: c_int = 0o0001;
761 pub const S_IRWXO: c_int = 0o0007;
767 pub const SOL_SOCKET: c_int = 0xffff;
768 pub const SOMAXCONN: c_int = 128;
770 pub const SO_DEBUG: c_int = 0x0001;
771 pub const SO_REUSEADDR: c_int = 0x0004;
772 pub const SO_KEEPALIVE: c_int = 0x0008;
773 pub const SO_DONTROUTE: c_int = 0x0010;
774 pub const SO_RCVLOWAT: c_int = 0x0012;
775 pub const SO_SNDLOWAT: c_int = 0x0013;
776 pub const SO_SNDTIMEO: c_int = 0x1005;
777 pub const SO_ACCEPTCONN: c_int = 0x001e;
778 pub const SO_BROADCAST: c_int = 0x0020;
779 pub const SO_USELOOPBACK: c_int = 0x0040;
780 pub const SO_LINGER: c_int = 0x0080;
781 pub const SO_REUSEPORT: c_int = 0x0200;
783 pub const SO_VLAN: c_int = 0x8000;
785 pub const SO_SNDBUF: c_int = 0x1001;
786 pub const SO_RCVBUF: c_int = 0x1002;
787 pub const SO_RCVTIMEO: c_int = 0x1006;
788 pub const SO_ERROR: c_int = 0x1007;
789 pub const SO_TYPE: c_int = 0x1008;
790 pub const SO_BINDTODEVICE: c_int = 0x1010;
791 pub const SO_OOBINLINE: c_int = 0x1011;
792 pub const SO_CONNTIMEO: c_int = 0x100a;
794 pub const SOCK_STREAM: c_int = 1;
795 pub const SOCK_DGRAM: c_int = 2;
796 pub const SOCK_RAW: c_int = 3;
797 pub const SOCK_RDM: c_int = 4;
798 pub const SOCK_SEQPACKET: c_int = 5;
799 pub const SOCK_PACKET: c_int = 10;
811 pub const MSG_OOB: c_int = 0x0001;
812 pub const MSG_PEEK: c_int = 0x0002;
813 pub const MSG_DONTROUTE: c_int = 0x0004;
814 pub const MSG_EOR: c_int = 0x0008;
815 pub const MSG_TRUNC: c_int = 0x0010;
816 pub const MSG_CTRUNC: c_int = 0x0020;
817 pub const MSG_WAITALL: c_int = 0x0040;
818 pub const MSG_DONTWAIT: c_int = 0x0080;
819 pub const MSG_EOF: c_int = 0x0100;
820 pub const MSG_EXP: c_int = 0x0200;
821 pub const MSG_MBUF: c_int = 0x0400;
822 pub const MSG_NOTIFICATION: c_int = 0x0800;
823 pub const MSG_COMPAT: c_int = 0x8000;
825 pub const AF_UNSPEC: c_int = 0;
826 pub const AF_LOCAL: c_int = 1;
827 pub const AF_UNIX: c_int = AF_LOCAL;
828 pub const AF_INET: c_int = 2;
829 pub const AF_NETLINK: c_int = 16;
830 pub const AF_ROUTE: c_int = 17;
831 pub const AF_LINK: c_int = 18;
832 pub const AF_PACKET: c_int = 19;
833 pub const pseudo_AF_KEY: c_int = 27;
834 pub const AF_KEY: c_int = pseudo_AF_KEY;
835 pub const AF_INET6: c_int = 28;
836 pub const AF_SOCKDEV: c_int = 31;
837 pub const AF_TIPC: c_int = 33;
838 pub const AF_MIPC: c_int = 34;
839 pub const AF_MIPC_SAFE: c_int = 35;
840 pub const AF_MAX: c_int = 37;
842 pub const SHUT_RD: c_int = 0;
843 pub const SHUT_WR: c_int = 1;
844 pub const SHUT_RDWR: c_int = 2;
846 pub const IPPROTO_TCP: c_int = 6;
847 pub const TCP_NODELAY: c_int = 1;
848 pub const TCP_MAXSEG: c_int = 2;
849 pub const TCP_NOPUSH: c_int = 3;
850 pub const TCP_KEEPIDLE: c_int = 4;
851 pub const TCP_KEEPINTVL: c_int = 5;
852 pub const TCP_KEEPCNT: c_int = 6;
855 pub const FIONREAD: c_int = 0x40040001;
856 pub const FIOFLUSH: c_int = 2;
857 pub const FIOOPTIONS: c_int = 3;
858 pub const FIOBAUDRATE: c_int = 4;
859 pub const FIODISKFORMAT: c_int = 5;
860 pub const FIODISKINIT: c_int = 6;
861 pub const FIOSEEK: c_int = 7;
862 pub const FIOWHERE: c_int = 8;
863 pub const FIODIRENTRY: c_int = 9;
864 pub const FIORENAME: c_int = 10;
865 pub const FIOREADYCHANGE: c_int = 11;
866 pub const FIODISKCHANGE: c_int = 13;
867 pub const FIOCANCEL: c_int = 14;
868 pub const FIOSQUEEZE: c_int = 15;
869 pub const FIOGETNAME: c_int = 18;
870 pub const FIONBIO: c_int = 0x90040010;
873 pub const PATH_MAX: c_int = _PARM_PATH_MAX;
874 pub const _POSIX_PATH_MAX: c_int = 256;
889 pub const FD_CLOEXEC: c_int = 1;
890 pub const F_DUPFD: c_int = 0;
891 pub const F_GETFD: c_int = 1;
892 pub const F_SETFD: c_int = 2;
893 pub const F_GETFL: c_int = 3;
894 pub const F_SETFL: c_int = 4;
895 pub const F_GETOWN: c_int = 5;
896 pub const F_SETOWN: c_int = 6;
897 pub const F_GETLK: c_int = 7;
898 pub const F_SETLK: c_int = 8;
899 pub const F_SETLKW: c_int = 9;
900 pub const F_DUPFD_CLOEXEC: c_int = 14;
907 pub const SIGHUP: c_int = 1;
908 pub const SIGINT: c_int = 2;
909 pub const SIGQUIT: c_int = 3;
910 pub const SIGILL: c_int = 4;
911 pub const SIGTRAP: c_int = 5;
912 pub const SIGABRT: c_int = 6;
913 pub const SIGEMT: c_int = 7;
914 pub const SIGFPE: c_int = 8;
915 pub const SIGKILL: c_int = 9;
916 pub const SIGBUS: c_int = 10;
917 pub const SIGSEGV: c_int = 11;
918 pub const SIGFMT: c_int = 12;
919 pub const SIGPIPE: c_int = 13;
920 pub const SIGALRM: c_int = 14;
921 pub const SIGTERM: c_int = 15;
922 pub const SIGCNCL: c_int = 16;
923 pub const SIGSTOP: c_int = 17;
924 pub const SIGTSTP: c_int = 18;
925 pub const SIGCONT: c_int = 19;
926 pub const SIGCHLD: c_int = 20;
927 pub const SIGTTIN: c_int = 21;
928 pub const SIGTTOU: c_int = 22;
929 pub const SIGUSR1: c_int = 30;
930 pub const SIGUSR2: c_int = 31;
931 pub const SIGPOLL: c_int = 32;
932 pub const SIGPROF: c_int = 33;
933 pub const SIGSYS: c_int = 34;
934 pub const SIGURG: c_int = 35;
935 pub const SIGVTALRM: c_int = 36;
936 pub const SIGXCPU: c_int = 37;
937 pub const SIGXFSZ: c_int = 38;
938 pub const SIGRTMIN: c_int = 48;
940 pub const SIGIO: c_int = SIGRTMIN;
941 pub const SIGWINCH: c_int = SIGRTMIN + 5;
942 pub const SIGLOST: c_int = SIGRTMIN + 6;
944 pub const SIG_BLOCK: c_int = 1;
945 pub const SIG_UNBLOCK: c_int = 2;
946 pub const SIG_SETMASK: c_int = 3;
948 pub const SA_NOCLDSTOP: c_int = 0x0001;
949 pub const SA_SIGINFO: c_int = 0x0002;
950 pub const SA_ONSTACK: c_int = 0x0004;
951 pub const SA_INTERRUPT: c_int = 0x0008;
952 pub const SA_RESETHAND: c_int = 0x0010;
953 pub const SA_RESTART: c_int = 0x0020;
954 pub const SA_NODEFER: c_int = 0x0040;
955 pub const SA_NOCLDWAIT: c_int = 0x0080;
957 pub const SI_SYNC: c_int = 0;
958 pub const SI_USER: c_int = -1;
959 pub const SI_QUEUE: c_int = -2;
960 pub const SI_TIMER: c_int = -3;
961 pub const SI_ASYNCIO: c_int = -4;
962 pub const SI_MESGQ: c_int = -5;
963 pub const SI_CHILD: c_int = -6;
964 pub const SI_KILL: c_int = SI_USER;
967 pub const _PARM_NAME_MAX: c_int = 255;
968 pub const _PARM_PATH_MAX: c_int = 1024;
971 pub const WNOHANG: c_int = 0x01;
972 pub const WUNTRACED: c_int = 0x02;
1021 pub const SEEK_SET: c_int = 0;
1022 pub const SEEK_CUR: c_int = 1;
1023 pub const SEEK_END: c_int = 2;
1026 pub const VX_RTP_NAME_LENGTH: c_int = 255;
1030 pub const _SC_GETPW_R_SIZE_MAX: c_int = 21; // Via unistd.h
1031 pub const _SC_PAGESIZE: c_int = 39;
1032 pub const O_ACCMODE: c_int = 3;
1033 pub const O_CLOEXEC: c_int = 0x100000; // fcntlcom
1034 pub const O_EXCL: c_int = 0x0800;
1035 pub const O_CREAT: c_int = 0x0200;
1036 pub const O_TRUNC: c_int = 0x0400;
1037 pub const O_APPEND: c_int = 0x0008;
1038 pub const O_RDWR: c_int = 0x0002;
1039 pub const O_WRONLY: c_int = 0x0001;
1040 pub const O_RDONLY: c_int = 0;
1041 pub const O_NONBLOCK: c_int = 0x4000;
1044 pub const PROT_NONE: c_int = 0x0000;
1045 pub const PROT_READ: c_int = 0x0001;
1046 pub const PROT_WRITE: c_int = 0x0002;
1047 pub const PROT_EXEC: c_int = 0x0004;
1049 pub const MAP_SHARED: c_int = 0x0001;
1050 pub const MAP_PRIVATE: c_int = 0x0002;
1051 pub const MAP_ANON: c_int = 0x0004;
1052 pub const MAP_ANONYMOUS: c_int = MAP_ANON;
1053 pub const MAP_FIXED: c_int = 0x0010;
1054 pub const MAP_CONTIG: c_int = 0x0020;
1114 pub fn isalnum(c: c_int) -> c_int; in isalnum() argument
1115 pub fn isalpha(c: c_int) -> c_int; in isalpha() argument
1116 pub fn iscntrl(c: c_int) -> c_int; in iscntrl() argument
1117 pub fn isdigit(c: c_int) -> c_int; in isdigit() argument
1118 pub fn isgraph(c: c_int) -> c_int; in isgraph() argument
1119 pub fn islower(c: c_int) -> c_int; in islower() argument
1120 pub fn isprint(c: c_int) -> c_int; in isprint() argument
1121 pub fn ispunct(c: c_int) -> c_int; in ispunct() argument
1122 pub fn isspace(c: c_int) -> c_int; in isspace() argument
1123 pub fn isupper(c: c_int) -> c_int; in isupper() argument
1124 pub fn isxdigit(c: c_int) -> c_int; in isxdigit() argument
1125 pub fn isblank(c: c_int) -> c_int; in isblank() argument
1126 pub fn tolower(c: c_int) -> c_int; in tolower() argument
1127 pub fn toupper(c: c_int) -> c_int; in toupper() argument
1130 pub fn fflush(file: *mut FILE) -> c_int; in fflush() argument
1131 pub fn fclose(file: *mut FILE) -> c_int; in fclose() argument
1132 pub fn remove(filename: *const c_char) -> c_int; in remove() argument
1133 pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; in rename() argument
1135 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf() argument
1137 pub fn getchar() -> c_int; in getchar()
1138 pub fn putchar(c: c_int) -> c_int; in putchar() argument
1139 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc() argument
1140 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets() argument
1141 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc() argument
1142 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs() argument
1143 pub fn puts(s: *const c_char) -> c_int; in puts() argument
1144 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc() argument
1147 pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; in fseek() argument
1150 pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int; in fgetpos() argument
1151 pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int; in fsetpos() argument
1152 pub fn feof(stream: *mut FILE) -> c_int; in feof() argument
1153 pub fn ferror(stream: *mut FILE) -> c_int; in ferror() argument
1156 pub fn atoi(s: *const c_char) -> c_int; in atoi() argument
1161 pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long; in strtol()
1162 pub fn strtoll(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_longlong; in strtoll()
1163 pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong; in strtoul()
1164 pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; in strtoull()
1170 pub fn exit(status: c_int) -> !; in exit() argument
1171 pub fn atexit(cb: extern "C" fn()) -> c_int; in atexit() argument
1172 pub fn system(s: *const c_char) -> c_int; in system() argument
1179 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; in strcmp() argument
1180 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp() argument
1181 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll() argument
1182 pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; in strchr()
1183 pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; in strrchr()
1189 pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; in strcasecmp() argument
1190 pub fn strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int; in strncasecmp() argument
1192 pub fn strerror(n: c_int) -> *mut c_char; in strerror()
1198 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr() argument
1200 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp() argument
1203 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset() argument
1207 pub fn fprintf(stream: *mut crate::FILE, format: *const c_char, ...) -> c_int; in fprintf() argument
1208 pub fn printf(format: *const c_char, ...) -> c_int; in printf() argument
1209 pub fn snprintf(s: *mut c_char, n: size_t, format: *const c_char, ...) -> c_int; in snprintf() argument
1210 pub fn sprintf(s: *mut c_char, format: *const c_char, ...) -> c_int; in sprintf() argument
1211 pub fn fscanf(stream: *mut crate::FILE, format: *const c_char, ...) -> c_int; in fscanf() argument
1212 pub fn scanf(format: *const c_char, ...) -> c_int; in scanf() argument
1213 pub fn sscanf(s: *const c_char, format: *const c_char, ...) -> c_int; in sscanf() argument
1214 pub fn getchar_unlocked() -> c_int; in getchar_unlocked()
1215 pub fn putchar_unlocked(c: c_int) -> c_int; in putchar_unlocked() argument
1216 pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; in stat() argument
1217 pub fn fdopen(fd: c_int, mode: *const c_char) -> *mut crate::FILE; in fdopen() argument
1218 pub fn fileno(stream: *mut crate::FILE) -> c_int; in fileno() argument
1219 pub fn creat(path: *const c_char, mode: mode_t) -> c_int; in creat() argument
1221 pub fn fchown(fd: c_int, owner: crate::uid_t, group: crate::gid_t) -> c_int; in fchown() argument
1222 pub fn access(path: *const c_char, amode: c_int) -> c_int; in access() argument
1224 pub fn fchdir(dirfd: c_int) -> c_int; in fchdir() argument
1225 pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> c_int; in chown() argument
1226 pub fn fpathconf(filedes: c_int, name: c_int) -> c_long; in fpathconf() argument
1229 pub fn getgroups(ngroups_max: c_int, groups: *mut gid_t) -> c_int; in getgroups() argument
1231 pub fn getopt(argc: c_int, argv: *const *mut c_char, optstr: *const c_char) -> c_int; in getopt() argument
1232 pub fn pathconf(path: *const c_char, name: c_int) -> c_long; in pathconf()
1233 pub fn pause() -> c_int; in pause()
1234 pub fn seteuid(uid: uid_t) -> c_int; in seteuid() argument
1235 pub fn setegid(gid: gid_t) -> c_int; in setegid() argument
1237 pub fn ttyname(fd: c_int) -> *mut c_char; in ttyname()
1238 pub fn wait(status: *mut c_int) -> pid_t; in wait()
1240 pub fn mlock(addr: *const c_void, len: size_t) -> c_int; in mlock() argument
1241 pub fn mlockall(flags: c_int) -> c_int; in mlockall() argument
1242 pub fn munlock(addr: *const c_void, len: size_t) -> c_int; in munlock() argument
1243 pub fn munlockall() -> c_int; in munlockall()
1248 prot: c_int, in mmap() argument
1249 flags: c_int, in mmap() argument
1250 fd: c_int, in mmap() argument
1253 pub fn munmap(addr: *mut c_void, len: size_t) -> c_int; in munmap() argument
1255 pub fn mprotect(addr: *mut c_void, len: size_t, prot: c_int) -> c_int; in mprotect() argument
1256 pub fn msync(addr: *mut c_void, len: size_t, flags: c_int) -> c_int; in msync() argument
1258 pub fn truncate(path: *const c_char, length: off_t) -> c_int; in truncate() argument
1259 pub fn shm_open(name: *const c_char, oflag: c_int, mode: mode_t) -> c_int; in shm_open() argument
1260 pub fn shm_unlink(name: *const c_char) -> c_int; in shm_unlink() argument
1262 pub fn gettimeofday(tp: *mut crate::timeval, tz: *mut c_void) -> c_int; in gettimeofday() argument
1264 pub fn pthread_attr_setdetachstate(attr: *mut crate::pthread_attr_t, state: c_int) -> c_int; in pthread_attr_setdetachstate() argument
1266 pub fn strerror_r(errnum: c_int, buf: *mut c_char, buflen: size_t) -> c_int; in strerror_r() argument
1268 pub fn sigaddset(set: *mut sigset_t, signum: c_int) -> c_int; in sigaddset() argument
1270 pub fn sigaction(signum: c_int, act: *const sigaction, oldact: *mut sigaction) -> c_int; in sigaction() argument
1272 pub fn utimes(filename: *const c_char, times: *const crate::timeval) -> c_int; in utimes() argument
1274 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() argument
1277 pub fn dlopen(filename: *const c_char, flag: c_int) -> *mut c_void; in dlopen()
1286 pub fn dlclose(handle: *mut c_void) -> c_int; in dlclose() argument
1289 pub fn dladdr(addr: *mut c_void, info: *mut Dl_info) -> c_int; in dladdr() argument
1300 pub fn gethostname(name: *mut c_char, len: size_t) -> c_int; in gethostname() argument
1301 pub fn usleep(secs: crate::useconds_t) -> c_int; in usleep() argument
1302 pub fn putenv(string: *mut c_char) -> c_int; in putenv() argument
1303 pub fn setlocale(category: c_int, locale: *const c_char) -> *mut c_char; in setlocale() argument
1305 pub fn sigprocmask(how: c_int, set: *const sigset_t, oldset: *mut sigset_t) -> c_int; in sigprocmask() argument
1306 pub fn sigpending(set: *mut sigset_t) -> c_int; in sigpending() argument
1308 pub fn mkfifo(path: *const c_char, mode: mode_t) -> c_int; in mkfifo() argument
1310 pub fn fseeko(stream: *mut crate::FILE, offset: off_t, whence: c_int) -> c_int; in fseeko() argument
1312 pub fn mkstemp(template: *mut c_char) -> c_int; in mkstemp() argument
1316 pub fn openlog(ident: *const c_char, logopt: c_int, facility: c_int); in openlog() argument
1318 pub fn setlogmask(maskpri: c_int) -> c_int; in setlogmask() argument
1319 pub fn syslog(priority: c_int, message: *const c_char, ...); in syslog() argument
1332 pub fn chdir(attr: *const c_char) -> c_int; in chdir() argument
1335 pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> c_int; in pthread_mutexattr_init() argument
1338 pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> c_int; in pthread_mutexattr_destroy() argument
1341 pub fn pthread_mutexattr_settype(pAttr: *mut crate::pthread_mutexattr_t, pType: c_int) in pthread_mutexattr_settype()
1342 -> c_int; in pthread_mutexattr_settype() argument
1348 ) -> c_int; in pthread_mutex_init() argument
1351 pub fn pthread_mutex_destroy(mutex: *mut pthread_mutex_t) -> c_int; in pthread_mutex_destroy() argument
1354 pub fn pthread_mutex_lock(mutex: *mut pthread_mutex_t) -> c_int; in pthread_mutex_lock() argument
1357 pub fn pthread_mutex_trylock(mutex: *mut pthread_mutex_t) -> c_int; in pthread_mutex_trylock() argument
1360 pub fn pthread_mutex_timedlock(attr: *mut pthread_mutex_t, spec: *const timespec) -> c_int; in pthread_mutex_timedlock() argument
1363 pub fn pthread_mutex_unlock(mutex: *mut pthread_mutex_t) -> c_int; in pthread_mutex_unlock() argument
1366 pub fn pthread_attr_setname(pAttr: *mut crate::pthread_attr_t, name: *mut c_char) -> c_int; in pthread_attr_setname() argument
1369 pub fn pthread_attr_setstacksize(attr: *mut crate::pthread_attr_t, stacksize: size_t) -> c_int; in pthread_attr_setstacksize() argument
1375 ) -> c_int; in pthread_attr_getstacksize() argument
1378 pub fn pthread_attr_init(attr: *mut crate::pthread_attr_t) -> c_int; in pthread_attr_init() argument
1386 ) -> c_int; in pthread_create() argument
1391 policy: c_int, in pthread_setschedparam() argument
1393 ) -> c_int; in pthread_setschedparam() argument
1398 policy: *mut c_int, in pthread_getschedparam() argument
1400 ) -> c_int; in pthread_getschedparam() argument
1405 inheritsched: c_int, in pthread_attr_setinheritsched() argument
1406 ) -> c_int; in pthread_attr_setinheritsched() argument
1409 pub fn pthread_attr_setschedpolicy(attr: *mut crate::pthread_attr_t, policy: c_int) -> c_int; in pthread_attr_setschedpolicy() argument
1412 pub fn pthread_attr_destroy(thread: *mut crate::pthread_attr_t) -> c_int; in pthread_attr_destroy() argument
1415 pub fn pthread_detach(thread: crate::pthread_t) -> c_int; in pthread_detach() argument
1422 ) -> c_int; in pthread_atfork() argument
1425 pub fn fstat(fildes: c_int, buf: *mut stat) -> c_int; in fstat() argument
1428 pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int; in lstat() argument
1431 pub fn ftruncate(fd: c_int, length: off_t) -> c_int; in ftruncate() argument
1438 ) -> c_int; in readdir_r() argument
1445 pub fn open(path: *const c_char, oflag: c_int, ...) -> c_int; in open() argument
1448 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: c_int) -> c_int; in poll() argument
1451 pub fn pthread_condattr_init(attr: *mut crate::pthread_condattr_t) -> c_int; in pthread_condattr_init() argument
1454 pub fn pthread_condattr_destroy(attr: *mut crate::pthread_condattr_t) -> c_int; in pthread_condattr_destroy() argument
1460 ) -> c_int; in pthread_condattr_getclock() argument
1466 ) -> c_int; in pthread_condattr_setclock() argument
1472 ) -> c_int; in pthread_cond_init() argument
1475 pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> c_int; in pthread_cond_destroy() argument
1478 pub fn pthread_cond_signal(cond: *mut crate::pthread_cond_t) -> c_int; in pthread_cond_signal() argument
1481 pub fn pthread_cond_broadcast(cond: *mut crate::pthread_cond_t) -> c_int; in pthread_cond_broadcast() argument
1487 ) -> c_int; in pthread_cond_wait() argument
1490 pub fn pthread_rwlockattr_init(attr: *mut crate::pthread_rwlockattr_t) -> c_int; in pthread_rwlockattr_init() argument
1493 pub fn pthread_rwlockattr_destroy(attr: *mut crate::pthread_rwlockattr_t) -> c_int; in pthread_rwlockattr_destroy() argument
1499 ) -> c_int; in pthread_rwlockattr_setmaxreaders() argument
1505 ) -> c_int; in pthread_rwlock_init() argument
1508 pub fn pthread_rwlock_destroy(attr: *mut crate::pthread_rwlock_t) -> c_int; in pthread_rwlock_destroy() argument
1511 pub fn pthread_rwlock_rdlock(attr: *mut crate::pthread_rwlock_t) -> c_int; in pthread_rwlock_rdlock() argument
1514 pub fn pthread_rwlock_tryrdlock(attr: *mut crate::pthread_rwlock_t) -> c_int; in pthread_rwlock_tryrdlock() argument
1520 ) -> c_int; in pthread_rwlock_timedrdlock() argument
1523 pub fn pthread_rwlock_wrlock(attr: *mut crate::pthread_rwlock_t) -> c_int; in pthread_rwlock_wrlock() argument
1526 pub fn pthread_rwlock_trywrlock(attr: *mut crate::pthread_rwlock_t) -> c_int; in pthread_rwlock_trywrlock() argument
1532 ) -> c_int; in pthread_rwlock_timedwrlock() argument
1535 pub fn pthread_rwlock_unlock(attr: *mut crate::pthread_rwlock_t) -> c_int; in pthread_rwlock_unlock() argument
1541 ) -> c_int; in pthread_key_create() argument
1544 pub fn pthread_key_delete(key: crate::pthread_key_t) -> c_int; in pthread_key_delete() argument
1547 pub fn pthread_setspecific(key: crate::pthread_key_t, value: *const c_void) -> c_int; in pthread_setspecific() argument
1557 ) -> c_int; in pthread_cond_timedwait() argument
1560 pub fn pthread_attr_getname(attr: *mut crate::pthread_attr_t, name: *mut *mut c_char) -> c_int; in pthread_attr_getname() argument
1563 pub fn pthread_join(thread: crate::pthread_t, status: *mut *mut c_void) -> c_int; in pthread_join() argument
1569 pub fn clock_gettime(clock_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int; in clock_gettime() argument
1572 pub fn clock_settime(clock_id: crate::clockid_t, tp: *const crate::timespec) -> c_int; in clock_settime() argument
1575 pub fn clock_getres(clock_id: crate::clockid_t, res: *mut crate::timespec) -> c_int; in clock_getres() argument
1580 flags: c_int, in clock_nanosleep() argument
1583 ) -> c_int; in clock_nanosleep() argument
1586 pub fn nanosleep(rqtp: *const crate::timespec, rmtp: *mut crate::timespec) -> c_int; in nanosleep() argument
1589 pub fn accept(s: c_int, addr: *mut crate::sockaddr, addrlen: *mut crate::socklen_t) -> c_int; in accept() argument
1592 pub fn bind(fd: c_int, addr: *const sockaddr, len: socklen_t) -> c_int; in bind() argument
1595 pub fn connect(s: c_int, name: *const crate::sockaddr, namelen: crate::socklen_t) -> c_int; in connect() argument
1599 s: c_int, in getpeername() argument
1602 ) -> c_int; in getpeername() argument
1605 pub fn getsockname(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) in getsockname() argument
1606 -> c_int; in getsockname()
1610 sockfd: c_int, in getsockopt() argument
1611 level: c_int, in getsockopt() argument
1612 optname: c_int, in getsockopt() argument
1615 ) -> c_int; in getsockopt() argument
1618 pub fn listen(socket: c_int, backlog: c_int) -> c_int; in listen() argument
1621 pub fn recv(s: c_int, buf: *mut c_void, bufLen: size_t, flags: c_int) -> ssize_t; in recv() argument
1625 s: c_int, in recvfrom() argument
1628 flags: c_int, in recvfrom() argument
1633 pub fn recvmsg(socket: c_int, mp: *mut crate::msghdr, flags: c_int) -> ssize_t; in recvmsg() argument
1636 pub fn send(socket: c_int, buf: *const c_void, len: size_t, flags: c_int) -> ssize_t; in send() argument
1638 pub fn sendmsg(socket: c_int, mp: *const crate::msghdr, flags: c_int) -> ssize_t; in sendmsg() argument
1642 socket: c_int, in sendto() argument
1645 flags: c_int, in sendto() argument
1652 socket: c_int, in setsockopt() argument
1653 level: c_int, in setsockopt() argument
1654 name: c_int, in setsockopt() argument
1657 ) -> c_int; in setsockopt() argument
1660 pub fn shutdown(s: c_int, how: c_int) -> c_int; in shutdown() argument
1663 pub fn socket(domain: c_int, _type: c_int, protocol: c_int) -> c_int; in socket() argument
1666 pub fn ioctl(fd: c_int, request: c_int, ...) -> c_int; in ioctl() argument
1669 pub fn fcntl(fd: c_int, cmd: c_int, ...) -> c_int; in fcntl() argument
1673 pub fn gai_strerror(errcode: c_int) -> *mut c_char; in gai_strerror()
1677 pub fn close(fd: c_int) -> c_int; in close() argument
1681 pub fn read(fd: c_int, buf: *mut c_void, count: size_t) -> ssize_t; in read() argument
1685 pub fn write(fd: c_int, buf: *const c_void, count: size_t) -> ssize_t; in write() argument
1689 pub fn isatty(fd: c_int) -> c_int; in isatty() argument
1693 pub fn dup(src: c_int) -> c_int; in dup() argument
1697 pub fn dup2(src: c_int, dst: c_int) -> c_int; in dup2() argument
1701 pub fn pipe(fds: *mut c_int) -> c_int; in pipe() argument
1705 pub fn unlink(pathname: *const c_char) -> c_int; in unlink() argument
1709 pub fn lseek(fd: c_int, offset: off_t, whence: c_int) -> off_t; in lseek() argument
1717 ) -> c_int; in getaddrinfo() argument
1723 pub fn signal(signum: c_int, handler: sighandler_t) -> sighandler_t; in signal() argument
1732 pub fn waitpid(pid: pid_t, status: *mut c_int, options: c_int) -> pid_t; in waitpid() argument
1735 pub fn sysconf(attr: c_int) -> c_long; in sysconf()
1742 overwrite: c_int, in setenv() argument
1743 ) -> c_int; in setenv() argument
1749 ) -> c_int; in unsetenv() argument
1755 pub fn link(src: *const c_char, dst: *const c_char) -> c_int; in link() argument
1761 pub fn symlink(path1: *const c_char, path2: *const c_char) -> c_int; in symlink() argument
1767 pub fn rmdir(path: *const c_char) -> c_int; in rmdir() argument
1770 pub fn mkdir(dirName: *const c_char, mode: mode_t) -> c_int; in mkdir() argument
1773 pub fn chmod(path: *const c_char, mode: mode_t) -> c_int; in chmod() argument
1776 pub fn fchmod(attr1: c_int, attr2: mode_t) -> c_int; in fchmod() argument
1779 pub fn fsync(fd: c_int) -> c_int; in fsync() argument
1782 pub fn closedir(ptr: *mut crate::DIR) -> c_int; in closedir() argument
1785 pub fn sched_get_priority_max(policy: c_int) -> c_int; in sched_get_priority_max() argument
1788 pub fn sched_get_priority_min(policy: c_int) -> c_int; in sched_get_priority_min() argument
1791 pub fn sched_setparam(pid: crate::pid_t, param: *const crate::sched_param) -> c_int; in sched_setparam() argument
1794 pub fn sched_getparam(pid: crate::pid_t, param: *mut crate::sched_param) -> c_int; in sched_getparam() argument
1799 policy: c_int, in sched_setscheduler() argument
1801 ) -> c_int; in sched_setscheduler() argument
1804 pub fn sched_getscheduler(pid: crate::pid_t) -> c_int; in sched_getscheduler() argument
1807 pub fn sched_rr_get_interval(pid: crate::pid_t, tp: *mut crate::timespec) -> c_int; in sched_rr_get_interval() argument
1810 pub fn sched_yield() -> c_int; in sched_yield()
1813 pub fn errnoSet(err: c_int) -> c_int; in errnoSet() argument
1816 pub fn errnoGet() -> c_int; in errnoGet()
1819 pub fn _exit(status: c_int) -> !; in _exit() argument
1822 pub fn setgid(gid: crate::gid_t) -> c_int; in setgid() argument
1828 pub fn setuid(uid: crate::uid_t) -> c_int; in setuid() argument
1834 pub fn sigemptyset(__set: *mut sigset_t) -> c_int; in sigemptyset() argument
1838 pub fn pthread_sigmask(__how: c_int, __set: *const sigset_t, __oset: *mut sigset_t) -> c_int; in pthread_sigmask() argument
1841 pub fn kill(__pid: pid_t, __signo: c_int) -> c_int; in kill() argument
1844 pub fn sigqueue(__pid: pid_t, __signo: c_int, __value: crate::sigval) -> c_int; in sigqueue() argument
1849 signo: c_int, in _sigqueue() argument
1851 sigCode: c_int, in _sigqueue() argument
1852 ) -> c_int; in _sigqueue() argument
1855 pub fn taskKill(taskId: crate::TASK_ID, signo: c_int) -> c_int; in taskKill() argument
1858 pub fn raise(__signo: c_int) -> c_int; in raise() argument
1862 pub fn taskDelay(ticks: crate::_Vx_ticks_t) -> c_int; in taskDelay() argument
1865 pub fn taskNameSet(task_id: crate::TASK_ID, task_name: *mut c_char) -> c_int; in taskNameSet() argument
1866 pub fn taskNameGet(task_id: crate::TASK_ID, buf_name: *mut c_char, bufsize: size_t) -> c_int; in taskNameGet() argument
1869 pub fn rtpInfoGet(rtpId: crate::RTP_ID, rtpStruct: *mut crate::RTP_DESC) -> c_int; in rtpInfoGet() argument
1874 priority: c_int, in rtpSpawn() argument
1876 options: c_int, in rtpSpawn() argument
1877 taskOptions: c_int, in rtpSpawn() argument
1886 pub fn writev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in writev() argument
1887 pub fn readv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in readv() argument
1890 pub fn randBytes(buf: *mut c_uchar, length: c_int) -> c_int; in randBytes() argument
1891 pub fn randABytes(buf: *mut c_uchar, length: c_int) -> c_int; in randABytes() argument
1892 pub fn randUBytes(buf: *mut c_uchar, length: c_int) -> c_int; in randUBytes() argument
1893 pub fn randSecure() -> c_int; in randSecure()
1896 pub fn mq_open(name: *const c_char, oflag: c_int, ...) -> crate::mqd_t; in mq_open() argument
1897 pub fn mq_close(mqd: crate::mqd_t) -> c_int; in mq_close() argument
1898 pub fn mq_unlink(name: *const c_char) -> c_int; in mq_unlink() argument
1917 ) -> c_int; in mq_send() argument
1924 ) -> c_int; in mq_timedsend() argument
1925 pub fn mq_getattr(mqd: crate::mqd_t, attr: *mut crate::mq_attr) -> c_int; in mq_getattr() argument
1930 ) -> c_int; in mq_setattr() argument
1941 pub {const} fn WIFEXITED(status: c_int) -> bool {
1944 pub {const} fn WIFSIGNALED(status: c_int) -> bool {
1947 pub {const} fn WIFSTOPPED(status: c_int) -> bool {
1950 pub {const} fn WEXITSTATUS(status: c_int) -> c_int {
1953 pub {const} fn WTERMSIG(status: c_int) -> c_int {
1956 pub {const} fn WSTOPSIG(status: c_int) -> c_int {
1961 pub fn pread(_fd: c_int, _buf: *mut c_void, _count: size_t, _offset: off64_t) -> ssize_t { in pread() argument
1965 pub fn pwrite(_fd: c_int, _buf: *const c_void, _count: size_t, _offset: off64_t) -> ssize_t { in pwrite() argument
1968 pub fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int { in posix_memalign() argument
1980 crate::errnoSet(e as c_int); in posix_memalign()