Lines Matching refs:c_int

6 pub type clockid_t = c_int;
8 pub type key_t = c_int;
29 pub imr_ifindex: c_int,
61 pub ai_flags: c_int,
62 pub ai_family: c_int,
63 pub ai_socktype: c_int,
64 pub ai_protocol: c_int,
81 pub sll_ifindex: c_int,
93 pub tm_sec: c_int,
94 pub tm_min: c_int,
95 pub tm_hour: c_int,
96 pub tm_mday: c_int,
97 pub tm_mon: c_int,
98 pub tm_year: c_int,
99 pub tm_wday: c_int,
100 pub tm_yday: c_int,
101 pub tm_isdst: c_int,
107 pub sched_priority: c_int,
109 pub sched_ss_low_priority: c_int,
115 pub sched_ss_max_repl: c_int,
153 pub ipi_ifindex: c_int,
178 rtmsg_ifindex: c_int,
184 pub arp_flags: c_int,
192 pub arp_flags: c_int,
317 pub sigev_signo: c_int,
318 pub sigev_notify: c_int,
321 pub sigev_notify_thread_id: c_int,
323 __unused1: [c_int; 11],
325 __unused1: [c_int; 12],
462 pub const EXIT_FAILURE: c_int = 1;
463 pub const EXIT_SUCCESS: c_int = 0;
464 pub const RAND_MAX: c_int = 2147483647;
465 pub const EOF: c_int = -1;
466 pub const SEEK_SET: c_int = 0;
467 pub const SEEK_CUR: c_int = 1;
468 pub const SEEK_END: c_int = 2;
469 pub const _IOFBF: c_int = 0;
470 pub const _IONBF: c_int = 2;
471 pub const _IOLBF: c_int = 1;
473 pub const F_DUPFD: c_int = 0;
474 pub const F_GETFD: c_int = 1;
475 pub const F_SETFD: c_int = 2;
476 pub const F_GETFL: c_int = 3;
477 pub const F_SETFL: c_int = 4;
480 pub const F_SETLEASE: c_int = 1024;
481 pub const F_GETLEASE: c_int = 1025;
482 pub const F_NOTIFY: c_int = 1026;
483 pub const F_CANCELLK: c_int = 1029;
484 pub const F_DUPFD_CLOEXEC: c_int = 1030;
485 pub const F_SETPIPE_SZ: c_int = 1031;
486 pub const F_GETPIPE_SZ: c_int = 1032;
487 pub const F_ADD_SEALS: c_int = 1033;
488 pub const F_GET_SEALS: c_int = 1034;
490 pub const F_SEAL_SEAL: c_int = 0x0001;
491 pub const F_SEAL_SHRINK: c_int = 0x0002;
492 pub const F_SEAL_GROW: c_int = 0x0004;
493 pub const F_SEAL_WRITE: c_int = 0x0008;
497 pub const SIGTRAP: c_int = 5;
499 pub const PTHREAD_CREATE_JOINABLE: c_int = 0;
500 pub const PTHREAD_CREATE_DETACHED: c_int = 1;
513 pub const TIMER_ABSTIME: c_int = 1;
515 pub const RUSAGE_SELF: c_int = 0;
517 pub const O_RDONLY: c_int = 0;
518 pub const O_WRONLY: c_int = 1;
519 pub const O_RDWR: c_int = 2;
521 pub const SOCK_CLOEXEC: c_int = O_CLOEXEC;
543 pub const F_OK: c_int = 0;
544 pub const R_OK: c_int = 4;
545 pub const W_OK: c_int = 2;
546 pub const X_OK: c_int = 1;
547 pub const STDIN_FILENO: c_int = 0;
548 pub const STDOUT_FILENO: c_int = 1;
549 pub const STDERR_FILENO: c_int = 2;
550 pub const SIGHUP: c_int = 1;
551 pub const SIGINT: c_int = 2;
552 pub const SIGQUIT: c_int = 3;
553 pub const SIGILL: c_int = 4;
554 pub const SIGABRT: c_int = 6;
555 pub const SIGFPE: c_int = 8;
556 pub const SIGKILL: c_int = 9;
557 pub const SIGSEGV: c_int = 11;
558 pub const SIGPIPE: c_int = 13;
559 pub const SIGALRM: c_int = 14;
560 pub const SIGTERM: c_int = 15;
562 pub const PROT_NONE: c_int = 0;
563 pub const PROT_READ: c_int = 1;
564 pub const PROT_WRITE: c_int = 2;
565 pub const PROT_EXEC: c_int = 4;
567 pub const XATTR_CREATE: c_int = 0x1;
568 pub const XATTR_REPLACE: c_int = 0x2;
580 pub const LC_CTYPE: c_int = 0;
581 pub const LC_NUMERIC: c_int = 1;
582 pub const LC_TIME: c_int = 2;
583 pub const LC_COLLATE: c_int = 3;
584 pub const LC_MONETARY: c_int = 4;
585 pub const LC_MESSAGES: c_int = 5;
586 pub const LC_PAPER: c_int = 6;
587 pub const LC_NAME: c_int = 7;
588 pub const LC_ADDRESS: c_int = 8;
589 pub const LC_TELEPHONE: c_int = 9;
590 pub const LC_MEASUREMENT: c_int = 10;
591 pub const LC_IDENTIFICATION: c_int = 11;
592 pub const LC_ALL: c_int = 12;
594 pub const LC_CTYPE: c_int = 0;
595 pub const LC_NUMERIC: c_int = 1;
596 pub const LC_TIME: c_int = 2;
597 pub const LC_COLLATE: c_int = 3;
598 pub const LC_MONETARY: c_int = 4;
599 pub const LC_MESSAGES: c_int = 5;
600 pub const LC_ALL: c_int = 6;
604 pub const LC_CTYPE_MASK: c_int = 1 << LC_CTYPE;
605 pub const LC_NUMERIC_MASK: c_int = 1 << LC_NUMERIC;
606 pub const LC_TIME_MASK: c_int = 1 << LC_TIME;
607 pub const LC_COLLATE_MASK: c_int = 1 << LC_COLLATE;
608 pub const LC_MONETARY_MASK: c_int = 1 << LC_MONETARY;
609 pub const LC_MESSAGES_MASK: c_int = 1 << LC_MESSAGES;
612 pub const MAP_FILE: c_int = 0x0000;
613 pub const MAP_SHARED: c_int = 0x0001;
614 pub const MAP_PRIVATE: c_int = 0x0002;
615 pub const MAP_FIXED: c_int = 0x0010;
620 pub const MS_ASYNC: c_int = 0x0001;
621 pub const MS_INVALIDATE: c_int = 0x0002;
622 pub const MS_SYNC: c_int = 0x0004;
653 pub const SCM_RIGHTS: c_int = 0x01;
654 pub const SCM_CREDENTIALS: c_int = 0x02;
656 pub const PROT_GROWSDOWN: c_int = 0x1000000;
657 pub const PROT_GROWSUP: c_int = 0x2000000;
659 pub const MAP_TYPE: c_int = 0x000f;
661 pub const MADV_NORMAL: c_int = 0;
662 pub const MADV_RANDOM: c_int = 1;
663 pub const MADV_SEQUENTIAL: c_int = 2;
664 pub const MADV_WILLNEED: c_int = 3;
665 pub const MADV_DONTNEED: c_int = 4;
666 pub const MADV_FREE: c_int = 8;
667 pub const MADV_REMOVE: c_int = 9;
668 pub const MADV_DONTFORK: c_int = 10;
669 pub const MADV_DOFORK: c_int = 11;
670 pub const MADV_MERGEABLE: c_int = 12;
671 pub const MADV_UNMERGEABLE: c_int = 13;
672 pub const MADV_HUGEPAGE: c_int = 14;
673 pub const MADV_NOHUGEPAGE: c_int = 15;
674 pub const MADV_DONTDUMP: c_int = 16;
675 pub const MADV_DODUMP: c_int = 17;
676 pub const MADV_WIPEONFORK: c_int = 18;
677 pub const MADV_KEEPONFORK: c_int = 19;
678 pub const MADV_COLD: c_int = 20;
679 pub const MADV_PAGEOUT: c_int = 21;
680 pub const MADV_HWPOISON: c_int = 100;
683 pub const MADV_POPULATE_READ: c_int = 22;
684 pub const MADV_POPULATE_WRITE: c_int = 23;
685 pub const MADV_DONTNEED_LOCKED: c_int = 24;
689 pub const IFF_UP: c_int = 0x1;
690 pub const IFF_BROADCAST: c_int = 0x2;
691 pub const IFF_DEBUG: c_int = 0x4;
692 pub const IFF_LOOPBACK: c_int = 0x8;
693 pub const IFF_POINTOPOINT: c_int = 0x10;
694 pub const IFF_NOTRAILERS: c_int = 0x20;
695 pub const IFF_RUNNING: c_int = 0x40;
696 pub const IFF_NOARP: c_int = 0x80;
697 pub const IFF_PROMISC: c_int = 0x100;
698 pub const IFF_ALLMULTI: c_int = 0x200;
699 pub const IFF_MASTER: c_int = 0x400;
700 pub const IFF_SLAVE: c_int = 0x800;
701 pub const IFF_MULTICAST: c_int = 0x1000;
702 pub const IFF_PORTSEL: c_int = 0x2000;
703 pub const IFF_AUTOMEDIA: c_int = 0x4000;
704 pub const IFF_DYNAMIC: c_int = 0x8000;
706 pub const SOL_IP: c_int = 0;
707 pub const SOL_TCP: c_int = 6;
708 pub const SOL_UDP: c_int = 17;
709 pub const SOL_IPV6: c_int = 41;
710 pub const SOL_ICMPV6: c_int = 58;
711 pub const SOL_RAW: c_int = 255;
712 pub const SOL_DECNET: c_int = 261;
713 pub const SOL_X25: c_int = 262;
714 pub const SOL_PACKET: c_int = 263;
715 pub const SOL_ATM: c_int = 264;
716 pub const SOL_AAL: c_int = 265;
717 pub const SOL_IRDA: c_int = 266;
718 pub const SOL_NETBEUI: c_int = 267;
719 pub const SOL_LLC: c_int = 268;
720 pub const SOL_DCCP: c_int = 269;
721 pub const SOL_NETLINK: c_int = 270;
722 pub const SOL_TIPC: c_int = 271;
723 pub const SOL_BLUETOOTH: c_int = 274;
724 pub const SOL_ALG: c_int = 279;
726 pub const AF_UNSPEC: c_int = 0;
727 pub const AF_UNIX: c_int = 1;
728 pub const AF_LOCAL: c_int = 1;
729 pub const AF_INET: c_int = 2;
730 pub const AF_AX25: c_int = 3;
731 pub const AF_IPX: c_int = 4;
732 pub const AF_APPLETALK: c_int = 5;
733 pub const AF_NETROM: c_int = 6;
734 pub const AF_BRIDGE: c_int = 7;
735 pub const AF_ATMPVC: c_int = 8;
736 pub const AF_X25: c_int = 9;
737 pub const AF_INET6: c_int = 10;
738 pub const AF_ROSE: c_int = 11;
739 pub const AF_DECnet: c_int = 12;
740 pub const AF_NETBEUI: c_int = 13;
741 pub const AF_SECURITY: c_int = 14;
742 pub const AF_KEY: c_int = 15;
743 pub const AF_NETLINK: c_int = 16;
744 pub const AF_ROUTE: c_int = AF_NETLINK;
745 pub const AF_PACKET: c_int = 17;
746 pub const AF_ASH: c_int = 18;
747 pub const AF_ECONET: c_int = 19;
748 pub const AF_ATMSVC: c_int = 20;
749 pub const AF_RDS: c_int = 21;
750 pub const AF_SNA: c_int = 22;
751 pub const AF_IRDA: c_int = 23;
752 pub const AF_PPPOX: c_int = 24;
753 pub const AF_WANPIPE: c_int = 25;
754 pub const AF_LLC: c_int = 26;
755 pub const AF_CAN: c_int = 29;
756 pub const AF_TIPC: c_int = 30;
757 pub const AF_BLUETOOTH: c_int = 31;
758 pub const AF_IUCV: c_int = 32;
759 pub const AF_RXRPC: c_int = 33;
760 pub const AF_ISDN: c_int = 34;
761 pub const AF_PHONET: c_int = 35;
762 pub const AF_IEEE802154: c_int = 36;
763 pub const AF_CAIF: c_int = 37;
764 pub const AF_ALG: c_int = 38;
766 pub const PF_UNSPEC: c_int = AF_UNSPEC;
767 pub const PF_UNIX: c_int = AF_UNIX;
768 pub const PF_LOCAL: c_int = AF_LOCAL;
769 pub const PF_INET: c_int = AF_INET;
770 pub const PF_AX25: c_int = AF_AX25;
771 pub const PF_IPX: c_int = AF_IPX;
772 pub const PF_APPLETALK: c_int = AF_APPLETALK;
773 pub const PF_NETROM: c_int = AF_NETROM;
774 pub const PF_BRIDGE: c_int = AF_BRIDGE;
775 pub const PF_ATMPVC: c_int = AF_ATMPVC;
776 pub const PF_X25: c_int = AF_X25;
777 pub const PF_INET6: c_int = AF_INET6;
778 pub const PF_ROSE: c_int = AF_ROSE;
779 pub const PF_DECnet: c_int = AF_DECnet;
780 pub const PF_NETBEUI: c_int = AF_NETBEUI;
781 pub const PF_SECURITY: c_int = AF_SECURITY;
782 pub const PF_KEY: c_int = AF_KEY;
783 pub const PF_NETLINK: c_int = AF_NETLINK;
784 pub const PF_ROUTE: c_int = AF_ROUTE;
785 pub const PF_PACKET: c_int = AF_PACKET;
786 pub const PF_ASH: c_int = AF_ASH;
787 pub const PF_ECONET: c_int = AF_ECONET;
788 pub const PF_ATMSVC: c_int = AF_ATMSVC;
789 pub const PF_RDS: c_int = AF_RDS;
790 pub const PF_SNA: c_int = AF_SNA;
791 pub const PF_IRDA: c_int = AF_IRDA;
792 pub const PF_PPPOX: c_int = AF_PPPOX;
793 pub const PF_WANPIPE: c_int = AF_WANPIPE;
794 pub const PF_LLC: c_int = AF_LLC;
795 pub const PF_CAN: c_int = AF_CAN;
796 pub const PF_TIPC: c_int = AF_TIPC;
797 pub const PF_BLUETOOTH: c_int = AF_BLUETOOTH;
798 pub const PF_IUCV: c_int = AF_IUCV;
799 pub const PF_RXRPC: c_int = AF_RXRPC;
800 pub const PF_ISDN: c_int = AF_ISDN;
801 pub const PF_PHONET: c_int = AF_PHONET;
802 pub const PF_IEEE802154: c_int = AF_IEEE802154;
803 pub const PF_CAIF: c_int = AF_CAIF;
804 pub const PF_ALG: c_int = AF_ALG;
806 pub const MSG_OOB: c_int = 1;
807 pub const MSG_PEEK: c_int = 2;
808 pub const MSG_DONTROUTE: c_int = 4;
809 pub const MSG_CTRUNC: c_int = 8;
810 pub const MSG_TRUNC: c_int = 0x20;
811 pub const MSG_DONTWAIT: c_int = 0x40;
812 pub const MSG_EOR: c_int = 0x80;
813 pub const MSG_WAITALL: c_int = 0x100;
814 pub const MSG_FIN: c_int = 0x200;
815 pub const MSG_SYN: c_int = 0x400;
816 pub const MSG_CONFIRM: c_int = 0x800;
817 pub const MSG_RST: c_int = 0x1000;
818 pub const MSG_ERRQUEUE: c_int = 0x2000;
819 pub const MSG_NOSIGNAL: c_int = 0x4000;
820 pub const MSG_MORE: c_int = 0x8000;
821 pub const MSG_WAITFORONE: c_int = 0x10000;
822 pub const MSG_FASTOPEN: c_int = 0x20000000;
823 pub const MSG_CMSG_CLOEXEC: c_int = 0x40000000;
825 pub const SCM_TIMESTAMP: c_int = SO_TIMESTAMP;
827 pub const SOCK_RAW: c_int = 3;
828 pub const SOCK_RDM: c_int = 4;
829 pub const IP_TOS: c_int = 1;
830 pub const IP_TTL: c_int = 2;
831 pub const IP_HDRINCL: c_int = 3;
832 pub const IP_OPTIONS: c_int = 4;
833 pub const IP_ROUTER_ALERT: c_int = 5;
834 pub const IP_RECVOPTS: c_int = 6;
835 pub const IP_RETOPTS: c_int = 7;
836 pub const IP_PKTINFO: c_int = 8;
837 pub const IP_PKTOPTIONS: c_int = 9;
838 pub const IP_MTU_DISCOVER: c_int = 10;
839 pub const IP_RECVERR: c_int = 11;
840 pub const IP_RECVTTL: c_int = 12;
841 pub const IP_RECVTOS: c_int = 13;
842 pub const IP_MTU: c_int = 14;
843 pub const IP_FREEBIND: c_int = 15;
844 pub const IP_IPSEC_POLICY: c_int = 16;
845 pub const IP_XFRM_POLICY: c_int = 17;
846 pub const IP_PASSSEC: c_int = 18;
847 pub const IP_TRANSPARENT: c_int = 19;
848 pub const IP_ORIGDSTADDR: c_int = 20;
849 pub const IP_RECVORIGDSTADDR: c_int = IP_ORIGDSTADDR;
850 pub const IP_MINTTL: c_int = 21;
851 pub const IP_NODEFRAG: c_int = 22;
852 pub const IP_CHECKSUM: c_int = 23;
853 pub const IP_BIND_ADDRESS_NO_PORT: c_int = 24;
854 pub const IP_MULTICAST_IF: c_int = 32;
855 pub const IP_MULTICAST_TTL: c_int = 33;
856 pub const IP_MULTICAST_LOOP: c_int = 34;
857 pub const IP_ADD_MEMBERSHIP: c_int = 35;
858 pub const IP_DROP_MEMBERSHIP: c_int = 36;
859 pub const IP_UNBLOCK_SOURCE: c_int = 37;
860 pub const IP_BLOCK_SOURCE: c_int = 38;
861 pub const IP_ADD_SOURCE_MEMBERSHIP: c_int = 39;
862 pub const IP_DROP_SOURCE_MEMBERSHIP: c_int = 40;
863 pub const IP_MSFILTER: c_int = 41;
864 pub const IP_MULTICAST_ALL: c_int = 49;
865 pub const IP_UNICAST_IF: c_int = 50;
867 pub const IP_DEFAULT_MULTICAST_TTL: c_int = 1;
868 pub const IP_DEFAULT_MULTICAST_LOOP: c_int = 1;
870 pub const IP_PMTUDISC_DONT: c_int = 0;
871 pub const IP_PMTUDISC_WANT: c_int = 1;
872 pub const IP_PMTUDISC_DO: c_int = 2;
873 pub const IP_PMTUDISC_PROBE: c_int = 3;
874 pub const IP_PMTUDISC_INTERFACE: c_int = 4;
875 pub const IP_PMTUDISC_OMIT: c_int = 5;
879 pub const IPPROTO_HOPOPTS: c_int = 0;
882 pub const IPPROTO_IGMP: c_int = 2;
884 pub const IPPROTO_IPIP: c_int = 4;
887 pub const IPPROTO_EGP: c_int = 8;
889 pub const IPPROTO_PUP: c_int = 12;
892 pub const IPPROTO_IDP: c_int = 22;
894 pub const IPPROTO_TP: c_int = 29;
896 pub const IPPROTO_DCCP: c_int = 33;
899 pub const IPPROTO_ROUTING: c_int = 43;
901 pub const IPPROTO_FRAGMENT: c_int = 44;
903 pub const IPPROTO_RSVP: c_int = 46;
905 pub const IPPROTO_GRE: c_int = 47;
907 pub const IPPROTO_ESP: c_int = 50;
909 pub const IPPROTO_AH: c_int = 51;
912 pub const IPPROTO_NONE: c_int = 59;
914 pub const IPPROTO_DSTOPTS: c_int = 60;
915 pub const IPPROTO_MTP: c_int = 92;
917 pub const IPPROTO_ENCAP: c_int = 98;
919 pub const IPPROTO_PIM: c_int = 103;
921 pub const IPPROTO_COMP: c_int = 108;
923 pub const IPPROTO_SCTP: c_int = 132;
924 pub const IPPROTO_MH: c_int = 135;
925 pub const IPPROTO_UDPLITE: c_int = 136;
927 pub const IPPROTO_RAW: c_int = 255;
928 pub const IPPROTO_BEETPH: c_int = 94;
929 pub const IPPROTO_MPLS: c_int = 137;
931 pub const IPPROTO_MPTCP: c_int = 262;
933 pub const IPPROTO_ETHERNET: c_int = 143;
935 pub const MCAST_EXCLUDE: c_int = 0;
936 pub const MCAST_INCLUDE: c_int = 1;
937 pub const MCAST_JOIN_GROUP: c_int = 42;
938 pub const MCAST_BLOCK_SOURCE: c_int = 43;
939 pub const MCAST_UNBLOCK_SOURCE: c_int = 44;
940 pub const MCAST_LEAVE_GROUP: c_int = 45;
941 pub const MCAST_JOIN_SOURCE_GROUP: c_int = 46;
942 pub const MCAST_LEAVE_SOURCE_GROUP: c_int = 47;
943 pub const MCAST_MSFILTER: c_int = 48;
945 pub const IPV6_ADDRFORM: c_int = 1;
946 pub const IPV6_2292PKTINFO: c_int = 2;
947 pub const IPV6_2292HOPOPTS: c_int = 3;
948 pub const IPV6_2292DSTOPTS: c_int = 4;
949 pub const IPV6_2292RTHDR: c_int = 5;
950 pub const IPV6_2292PKTOPTIONS: c_int = 6;
951 pub const IPV6_CHECKSUM: c_int = 7;
952 pub const IPV6_2292HOPLIMIT: c_int = 8;
953 pub const IPV6_NEXTHOP: c_int = 9;
954 pub const IPV6_AUTHHDR: c_int = 10;
955 pub const IPV6_UNICAST_HOPS: c_int = 16;
956 pub const IPV6_MULTICAST_IF: c_int = 17;
957 pub const IPV6_MULTICAST_HOPS: c_int = 18;
958 pub const IPV6_MULTICAST_LOOP: c_int = 19;
959 pub const IPV6_ADD_MEMBERSHIP: c_int = 20;
960 pub const IPV6_DROP_MEMBERSHIP: c_int = 21;
961 pub const IPV6_ROUTER_ALERT: c_int = 22;
962 pub const IPV6_MTU_DISCOVER: c_int = 23;
963 pub const IPV6_MTU: c_int = 24;
964 pub const IPV6_RECVERR: c_int = 25;
965 pub const IPV6_V6ONLY: c_int = 26;
966 pub const IPV6_JOIN_ANYCAST: c_int = 27;
967 pub const IPV6_LEAVE_ANYCAST: c_int = 28;
968 pub const IPV6_IPSEC_POLICY: c_int = 34;
969 pub const IPV6_XFRM_POLICY: c_int = 35;
970 pub const IPV6_HDRINCL: c_int = 36;
971 pub const IPV6_RECVPKTINFO: c_int = 49;
972 pub const IPV6_PKTINFO: c_int = 50;
973 pub const IPV6_RECVHOPLIMIT: c_int = 51;
974 pub const IPV6_HOPLIMIT: c_int = 52;
975 pub const IPV6_RECVHOPOPTS: c_int = 53;
976 pub const IPV6_HOPOPTS: c_int = 54;
977 pub const IPV6_RTHDRDSTOPTS: c_int = 55;
978 pub const IPV6_RECVRTHDR: c_int = 56;
979 pub const IPV6_RTHDR: c_int = 57;
980 pub const IPV6_RECVDSTOPTS: c_int = 58;
981 pub const IPV6_DSTOPTS: c_int = 59;
982 pub const IPV6_RECVPATHMTU: c_int = 60;
983 pub const IPV6_PATHMTU: c_int = 61;
984 pub const IPV6_DONTFRAG: c_int = 62;
985 pub const IPV6_RECVTCLASS: c_int = 66;
986 pub const IPV6_TCLASS: c_int = 67;
987 pub const IPV6_AUTOFLOWLABEL: c_int = 70;
988 pub const IPV6_ADDR_PREFERENCES: c_int = 72;
989 pub const IPV6_MINHOPCOUNT: c_int = 73;
990 pub const IPV6_ORIGDSTADDR: c_int = 74;
991 pub const IPV6_RECVORIGDSTADDR: c_int = IPV6_ORIGDSTADDR;
992 pub const IPV6_TRANSPARENT: c_int = 75;
993 pub const IPV6_UNICAST_IF: c_int = 76;
994 pub const IPV6_PREFER_SRC_TMP: c_int = 0x0001;
995 pub const IPV6_PREFER_SRC_PUBLIC: c_int = 0x0002;
996 pub const IPV6_PREFER_SRC_PUBTMP_DEFAULT: c_int = 0x0100;
997 pub const IPV6_PREFER_SRC_COA: c_int = 0x0004;
998 pub const IPV6_PREFER_SRC_HOME: c_int = 0x0400;
999 pub const IPV6_PREFER_SRC_CGA: c_int = 0x0008;
1000 pub const IPV6_PREFER_SRC_NONCGA: c_int = 0x0800;
1002 pub const IPV6_PMTUDISC_DONT: c_int = 0;
1003 pub const IPV6_PMTUDISC_WANT: c_int = 1;
1004 pub const IPV6_PMTUDISC_DO: c_int = 2;
1005 pub const IPV6_PMTUDISC_PROBE: c_int = 3;
1006 pub const IPV6_PMTUDISC_INTERFACE: c_int = 4;
1007 pub const IPV6_PMTUDISC_OMIT: c_int = 5;
1009 pub const TCP_NODELAY: c_int = 1;
1010 pub const TCP_MAXSEG: c_int = 2;
1011 pub const TCP_CORK: c_int = 3;
1012 pub const TCP_KEEPIDLE: c_int = 4;
1013 pub const TCP_KEEPINTVL: c_int = 5;
1014 pub const TCP_KEEPCNT: c_int = 6;
1015 pub const TCP_SYNCNT: c_int = 7;
1016 pub const TCP_LINGER2: c_int = 8;
1017 pub const TCP_DEFER_ACCEPT: c_int = 9;
1018 pub const TCP_WINDOW_CLAMP: c_int = 10;
1019 pub const TCP_INFO: c_int = 11;
1020 pub const TCP_QUICKACK: c_int = 12;
1021 pub const TCP_CONGESTION: c_int = 13;
1022 pub const TCP_MD5SIG: c_int = 14;
1029 pub const TCP_COOKIE_TRANSACTIONS: c_int = 15;
1032 pub const TCP_THIN_LINEAR_TIMEOUTS: c_int = 16;
1033 pub const TCP_THIN_DUPACK: c_int = 17;
1034 pub const TCP_USER_TIMEOUT: c_int = 18;
1035 pub const TCP_REPAIR: c_int = 19;
1036 pub const TCP_REPAIR_QUEUE: c_int = 20;
1037 pub const TCP_QUEUE_SEQ: c_int = 21;
1038 pub const TCP_REPAIR_OPTIONS: c_int = 22;
1039 pub const TCP_FASTOPEN: c_int = 23;
1040 pub const TCP_TIMESTAMP: c_int = 24;
1041 pub const TCP_NOTSENT_LOWAT: c_int = 25;
1042 pub const TCP_CC_INFO: c_int = 26;
1043 pub const TCP_SAVE_SYN: c_int = 27;
1044 pub const TCP_SAVED_SYN: c_int = 28;
1049 pub const TCP_REPAIR_WINDOW: c_int = 29;
1050 pub const TCP_FASTOPEN_CONNECT: c_int = 30;
1051 pub const TCP_ULP: c_int = 31;
1052 pub const TCP_MD5SIG_EXT: c_int = 32;
1053 pub const TCP_FASTOPEN_KEY: c_int = 33;
1054 pub const TCP_FASTOPEN_NO_COOKIE: c_int = 34;
1055 pub const TCP_ZEROCOPY_RECEIVE: c_int = 35;
1056 pub const TCP_INQ: c_int = 36;
1057 pub const TCP_CM_INQ: c_int = TCP_INQ;
1064 pub const SO_DEBUG: c_int = 1;
1066 pub const SHUT_RD: c_int = 0;
1067 pub const SHUT_WR: c_int = 1;
1068 pub const SHUT_RDWR: c_int = 2;
1070 pub const LOCK_SH: c_int = 1;
1071 pub const LOCK_EX: c_int = 2;
1072 pub const LOCK_NB: c_int = 4;
1073 pub const LOCK_UN: c_int = 8;
1075 pub const SS_ONSTACK: c_int = 1;
1076 pub const SS_DISABLE: c_int = 2;
1078 pub const PATH_MAX: c_int = 4096;
1080 pub const UIO_MAXIOV: c_int = 1024;
1084 pub const EPOLLIN: c_int = 0x1;
1085 pub const EPOLLPRI: c_int = 0x2;
1086 pub const EPOLLOUT: c_int = 0x4;
1087 pub const EPOLLERR: c_int = 0x8;
1088 pub const EPOLLHUP: c_int = 0x10;
1089 pub const EPOLLRDNORM: c_int = 0x40;
1090 pub const EPOLLRDBAND: c_int = 0x80;
1091 pub const EPOLLWRNORM: c_int = 0x100;
1092 pub const EPOLLWRBAND: c_int = 0x200;
1093 pub const EPOLLMSG: c_int = 0x400;
1094 pub const EPOLLRDHUP: c_int = 0x2000;
1095 pub const EPOLLEXCLUSIVE: c_int = 0x10000000;
1096 pub const EPOLLWAKEUP: c_int = 0x20000000;
1097 pub const EPOLLONESHOT: c_int = 0x40000000;
1098 pub const EPOLLET: c_int = 0x80000000;
1100 pub const EPOLL_CTL_ADD: c_int = 1;
1101 pub const EPOLL_CTL_MOD: c_int = 3;
1102 pub const EPOLL_CTL_DEL: c_int = 2;
1104 pub const MNT_FORCE: c_int = 0x1;
1105 pub const MNT_DETACH: c_int = 0x2;
1106 pub const MNT_EXPIRE: c_int = 0x4;
1107 pub const UMOUNT_NOFOLLOW: c_int = 0x8;
1109 pub const Q_GETFMT: c_int = 0x800004;
1110 pub const Q_GETINFO: c_int = 0x800005;
1111 pub const Q_SETINFO: c_int = 0x800006;
1123 pub const Q_SYNC: c_int = 0x800001;
1124 pub const Q_QUOTAON: c_int = 0x800002;
1125 pub const Q_QUOTAOFF: c_int = 0x800003;
1126 pub const Q_GETQUOTA: c_int = 0x800007;
1127 pub const Q_SETQUOTA: c_int = 0x800008;
1129 pub const TCIOFF: c_int = 2;
1130 pub const TCION: c_int = 3;
1131 pub const TCOOFF: c_int = 0;
1132 pub const TCOON: c_int = 1;
1133 pub const TCIFLUSH: c_int = 0;
1134 pub const TCOFLUSH: c_int = 1;
1135 pub const TCIOFLUSH: c_int = 2;
1169 pub const CLONE_VM: c_int = 0x100;
1170 pub const CLONE_FS: c_int = 0x200;
1171 pub const CLONE_FILES: c_int = 0x400;
1172 pub const CLONE_SIGHAND: c_int = 0x800;
1173 pub const CLONE_PTRACE: c_int = 0x2000;
1174 pub const CLONE_VFORK: c_int = 0x4000;
1175 pub const CLONE_PARENT: c_int = 0x8000;
1176 pub const CLONE_THREAD: c_int = 0x10000;
1177 pub const CLONE_NEWNS: c_int = 0x20000;
1178 pub const CLONE_SYSVSEM: c_int = 0x40000;
1179 pub const CLONE_SETTLS: c_int = 0x80000;
1180 pub const CLONE_PARENT_SETTID: c_int = 0x100000;
1181 pub const CLONE_CHILD_CLEARTID: c_int = 0x200000;
1182 pub const CLONE_DETACHED: c_int = 0x400000;
1183 pub const CLONE_UNTRACED: c_int = 0x800000;
1184 pub const CLONE_CHILD_SETTID: c_int = 0x01000000;
1185 pub const CLONE_NEWCGROUP: c_int = 0x02000000;
1186 pub const CLONE_NEWUTS: c_int = 0x04000000;
1187 pub const CLONE_NEWIPC: c_int = 0x08000000;
1188 pub const CLONE_NEWUSER: c_int = 0x10000000;
1189 pub const CLONE_NEWPID: c_int = 0x20000000;
1190 pub const CLONE_NEWNET: c_int = 0x40000000;
1191 pub const CLONE_IO: c_int = 0x80000000;
1193 pub const WNOHANG: c_int = 0x00000001;
1194 pub const WUNTRACED: c_int = 0x00000002;
1195 pub const WSTOPPED: c_int = WUNTRACED;
1196 pub const WEXITED: c_int = 0x00000004;
1197 pub const WCONTINUED: c_int = 0x00000008;
1198 pub const WNOWAIT: c_int = 0x01000000;
1201 pub const ADDR_NO_RANDOMIZE: c_int = 0x0040000;
1202 pub const MMAP_PAGE_ZERO: c_int = 0x0100000;
1203 pub const ADDR_COMPAT_LAYOUT: c_int = 0x0200000;
1204 pub const READ_IMPLIES_EXEC: c_int = 0x0400000;
1205 pub const ADDR_LIMIT_32BIT: c_int = 0x0800000;
1206 pub const SHORT_INODE: c_int = 0x1000000;
1207 pub const WHOLE_SECONDS: c_int = 0x2000000;
1208 pub const STICKY_TIMEOUTS: c_int = 0x4000000;
1209 pub const ADDR_LIMIT_3GB: c_int = 0x8000000;
1212 pub const PTRACE_O_TRACESYSGOOD: c_int = 0x00000001;
1213 pub const PTRACE_O_TRACEFORK: c_int = 0x00000002;
1214 pub const PTRACE_O_TRACEVFORK: c_int = 0x00000004;
1215 pub const PTRACE_O_TRACECLONE: c_int = 0x00000008;
1216 pub const PTRACE_O_TRACEEXEC: c_int = 0x00000010;
1217 pub const PTRACE_O_TRACEVFORKDONE: c_int = 0x00000020;
1218 pub const PTRACE_O_TRACEEXIT: c_int = 0x00000040;
1219 pub const PTRACE_O_TRACESECCOMP: c_int = 0x00000080;
1220 pub const PTRACE_O_SUSPEND_SECCOMP: c_int = 0x00200000;
1221 pub const PTRACE_O_EXITKILL: c_int = 0x00100000;
1222 pub const PTRACE_O_MASK: c_int = 0x003000ff;
1225 pub const PTRACE_EVENT_FORK: c_int = 1;
1226 pub const PTRACE_EVENT_VFORK: c_int = 2;
1227 pub const PTRACE_EVENT_CLONE: c_int = 3;
1228 pub const PTRACE_EVENT_EXEC: c_int = 4;
1229 pub const PTRACE_EVENT_VFORK_DONE: c_int = 5;
1230 pub const PTRACE_EVENT_EXIT: c_int = 6;
1231 pub const PTRACE_EVENT_SECCOMP: c_int = 7;
1233 pub const __WNOTHREAD: c_int = 0x20000000;
1234 pub const __WALL: c_int = 0x40000000;
1235 pub const __WCLONE: c_int = 0x80000000;
1242 pub const RTLD_LOCAL: c_int = 0;
1243 pub const RTLD_LAZY: c_int = 1;
1245 pub const POSIX_FADV_NORMAL: c_int = 0;
1246 pub const POSIX_FADV_RANDOM: c_int = 1;
1247 pub const POSIX_FADV_SEQUENTIAL: c_int = 2;
1248 pub const POSIX_FADV_WILLNEED: c_int = 3;
1250 pub const AT_FDCWD: c_int = -100;
1251 pub const AT_SYMLINK_NOFOLLOW: c_int = 0x100;
1252 pub const AT_REMOVEDIR: c_int = 0x200;
1253 pub const AT_SYMLINK_FOLLOW: c_int = 0x400;
1254 pub const AT_NO_AUTOMOUNT: c_int = 0x800;
1255 pub const AT_EMPTY_PATH: c_int = 0x1000;
1256 pub const AT_RECURSIVE: c_int = 0x8000;
1258 pub const LOG_CRON: c_int = 9 << 3;
1259 pub const LOG_AUTHPRIV: c_int = 10 << 3;
1260 pub const LOG_FTP: c_int = 11 << 3;
1261 pub const LOG_PERROR: c_int = 0x20;
1268 pub const SI_USER: c_int = 0;
1269 pub const SI_KERNEL: c_int = 0x80;
1270 pub const SI_QUEUE: c_int = -1;
1273 pub const SI_TIMER: c_int = -2;
1274 pub const SI_MESGQ: c_int = -3;
1275 pub const SI_ASYNCIO: c_int = -4;
1277 pub const SI_TIMER: c_int = -3;
1278 pub const SI_MESGQ: c_int = -4;
1279 pub const SI_ASYNCIO: c_int = -2;
1282 pub const SI_SIGIO: c_int = -5;
1283 pub const SI_TKILL: c_int = -6;
1284 pub const SI_ASYNCNL: c_int = -60;
1287 pub const BUS_ADRALN: c_int = 1;
1288 pub const BUS_ADRERR: c_int = 2;
1289 pub const BUS_OBJERR: c_int = 3;
1291 pub const BUS_MCEERR_AR: c_int = 4;
1292 pub const BUS_MCEERR_AO: c_int = 5;
1295 pub const TRAP_BRKPT: c_int = 1;
1296 pub const TRAP_TRACE: c_int = 2;
1297 pub const TRAP_BRANCH: c_int = 3;
1298 pub const TRAP_HWBKPT: c_int = 4;
1299 pub const TRAP_UNK: c_int = 5;
1302 pub const CLD_EXITED: c_int = 1;
1303 pub const CLD_KILLED: c_int = 2;
1304 pub const CLD_DUMPED: c_int = 3;
1305 pub const CLD_TRAPPED: c_int = 4;
1306 pub const CLD_STOPPED: c_int = 5;
1307 pub const CLD_CONTINUED: c_int = 6;
1309 pub const SIGEV_SIGNAL: c_int = 0;
1310 pub const SIGEV_NONE: c_int = 1;
1311 pub const SIGEV_THREAD: c_int = 2;
1395 pub const ATF_NETMASK: c_int = 0x20;
1396 pub const ATF_DONTPUB: c_int = 0x40;
1464 pub const IFF_TUN: c_int = 0x0001;
1465 pub const IFF_TAP: c_int = 0x0002;
1466 pub const IFF_NAPI: c_int = 0x0010;
1467 pub const IFF_NAPI_FRAGS: c_int = 0x0020;
1469 pub const IFF_NO_CARRIER: c_int = 0x0040;
1470 pub const IFF_NO_PI: c_int = 0x1000;
1478 pub const IFF_ONE_QUEUE: c_int = 0x2000;
1479 pub const IFF_VNET_HDR: c_int = 0x4000;
1480 pub const IFF_TUN_EXCL: c_int = 0x8000;
1481 pub const IFF_MULTI_QUEUE: c_int = 0x0100;
1482 pub const IFF_ATTACH_QUEUE: c_int = 0x0200;
1483 pub const IFF_DETACH_QUEUE: c_int = 0x0400;
1485 pub const IFF_PERSIST: c_int = 0x0800;
1486 pub const IFF_NOFILTER: c_int = 0x1000;
1488 pub const TUN_TX_TIMESTAMP: c_int = 1;
1498 pub const TUN_PKT_STRIP: c_int = 0x0001;
1500 pub const TUN_FLT_ALLMULTI: c_int = 0x0001;
1503 pub const TUNSETNOCSUM: Ioctl = _IOW::<c_int>(T_TYPE, 200);
1504 pub const TUNSETDEBUG: Ioctl = _IOW::<c_int>(T_TYPE, 201);
1505 pub const TUNSETIFF: Ioctl = _IOW::<c_int>(T_TYPE, 202);
1506 pub const TUNSETPERSIST: Ioctl = _IOW::<c_int>(T_TYPE, 203);
1507 pub const TUNSETOWNER: Ioctl = _IOW::<c_int>(T_TYPE, 204);
1508 pub const TUNSETLINK: Ioctl = _IOW::<c_int>(T_TYPE, 205);
1509 pub const TUNSETGROUP: Ioctl = _IOW::<c_int>(T_TYPE, 206);
1510 pub const TUNGETFEATURES: Ioctl = _IOR::<c_int>(T_TYPE, 207);
1511 pub const TUNSETOFFLOAD: Ioctl = _IOW::<c_int>(T_TYPE, 208);
1512 pub const TUNSETTXFILTER: Ioctl = _IOW::<c_int>(T_TYPE, 209);
1513 pub const TUNGETIFF: Ioctl = _IOR::<c_int>(T_TYPE, 210);
1514 pub const TUNGETSNDBUF: Ioctl = _IOR::<c_int>(T_TYPE, 211);
1515 pub const TUNSETSNDBUF: Ioctl = _IOW::<c_int>(T_TYPE, 212);
1518 pub const TUNGETVNETHDRSZ: Ioctl = _IOR::<c_int>(T_TYPE, 215);
1519 pub const TUNSETVNETHDRSZ: Ioctl = _IOW::<c_int>(T_TYPE, 216);
1520 pub const TUNSETQUEUE: Ioctl = _IOW::<c_int>(T_TYPE, 217);
1521 pub const TUNSETIFINDEX: Ioctl = _IOW::<c_int>(T_TYPE, 218);
1523 pub const TUNSETVNETLE: Ioctl = _IOW::<c_int>(T_TYPE, 220);
1524 pub const TUNGETVNETLE: Ioctl = _IOR::<c_int>(T_TYPE, 221);
1525 pub const TUNSETVNETBE: Ioctl = _IOW::<c_int>(T_TYPE, 222);
1526 pub const TUNGETVNETBE: Ioctl = _IOR::<c_int>(T_TYPE, 223);
1527 pub const TUNSETSTEERINGEBPF: Ioctl = _IOR::<c_int>(T_TYPE, 224);
1528 pub const TUNSETFILTEREBPF: Ioctl = _IOR::<c_int>(T_TYPE, 225);
1529 pub const TUNSETCARRIER: Ioctl = _IOW::<c_int>(T_TYPE, 226);
1537 pub const FS_IOC32_GETFLAGS: Ioctl = _IOR::<c_int>('f' as u32, 1);
1538 pub const FS_IOC32_SETFLAGS: Ioctl = _IOW::<c_int>('f' as u32, 2);
1539 pub const FS_IOC32_GETVERSION: Ioctl = _IOR::<c_int>('v' as u32, 1);
1540 pub const FS_IOC32_SETVERSION: Ioctl = _IOW::<c_int>('v' as u32, 2);
1542 pub const FICLONE: Ioctl = _IOW::<c_int>(0x94, 9);
1663 pub const AT_STATX_SYNC_TYPE: c_int = 0x6000;
1664 pub const AT_STATX_SYNC_AS_STAT: c_int = 0x0000;
1665 pub const AT_STATX_FORCE_SYNC: c_int = 0x2000;
1666 pub const AT_STATX_DONT_SYNC: c_int = 0x4000;
1683 pub const STATX__RESERVED: c_int = 0x80000000;
1684 pub const STATX_ATTR_COMPRESSED: c_int = 0x0004;
1685 pub const STATX_ATTR_IMMUTABLE: c_int = 0x0010;
1686 pub const STATX_ATTR_APPEND: c_int = 0x0020;
1687 pub const STATX_ATTR_NODUMP: c_int = 0x0040;
1688 pub const STATX_ATTR_ENCRYPTED: c_int = 0x0800;
1689 pub const STATX_ATTR_AUTOMOUNT: c_int = 0x1000;
1690 pub const STATX_ATTR_MOUNT_ROOT: c_int = 0x2000;
1691 pub const STATX_ATTR_VERITY: c_int = 0x100000;
1692 pub const STATX_ATTR_DAX: c_int = 0x200000;
1779 pub fn ioctl(fd: c_int, request: Ioctl, ...) -> c_int;
1811 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () {
1818 pub fn FD_ISSET(fd: c_int, set: *const fd_set) -> bool {
1824 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () {
1839 pub fn SIGRTMAX() -> c_int {
1843 pub fn SIGRTMIN() -> c_int {
1847 pub {const} fn WIFSTOPPED(status: c_int) -> bool {
1851 pub {const} fn WSTOPSIG(status: c_int) -> c_int {
1855 pub {const} fn WIFCONTINUED(status: c_int) -> bool {
1859 pub {const} fn WIFSIGNALED(status: c_int) -> bool {
1863 pub {const} fn WTERMSIG(status: c_int) -> c_int {
1867 pub {const} fn WIFEXITED(status: c_int) -> bool {
1871 pub {const} fn WEXITSTATUS(status: c_int) -> c_int {
1875 pub {const} fn WCOREDUMP(status: c_int) -> bool {
1879 pub {const} fn W_EXITCODE(ret: c_int, sig: c_int) -> c_int {
1883 pub {const} fn W_STOPCODE(sig: c_int) -> c_int {
1887 pub {const} fn QCMD(cmd: c_int, type_: c_int) -> c_int {
1915 pub fn __libc_current_sigrtmax() -> c_int; in __libc_current_sigrtmax()
1917 pub fn __libc_current_sigrtmin() -> c_int; in __libc_current_sigrtmin()
1919 pub fn sem_destroy(sem: *mut sem_t) -> c_int; in sem_destroy() argument
1920 pub fn sem_init(sem: *mut sem_t, pshared: c_int, value: c_uint) -> c_int; in sem_init() argument
1921 pub fn fdatasync(fd: c_int) -> c_int; in fdatasync() argument
1922 pub fn mincore(addr: *mut c_void, len: size_t, vec: *mut c_uchar) -> c_int; in mincore() argument
1925 pub fn clock_getres(clk_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int; in clock_getres() argument
1927 pub fn clock_gettime(clk_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int; in clock_gettime() argument
1929 pub fn clock_settime(clk_id: crate::clockid_t, tp: *const crate::timespec) -> c_int; in clock_settime() argument
1930 pub fn clock_getcpuclockid(pid: crate::pid_t, clk_id: *mut crate::clockid_t) -> c_int; in clock_getcpuclockid() argument
1932 pub fn dirfd(dirp: *mut crate::DIR) -> c_int; in dirfd() argument
1934 pub fn pthread_getattr_np(native: crate::pthread_t, attr: *mut crate::pthread_attr_t) -> c_int; in pthread_getattr_np() argument
1939 ) -> c_int; in pthread_attr_getstack() argument
1944 ) -> c_int; in pthread_attr_setstack() argument
1946 pub fn setgroups(ngroups: size_t, ptr: *const crate::gid_t) -> c_int; in setgroups() argument
1947 pub fn pipe2(fds: *mut c_int, flags: c_int) -> c_int; in pipe2() argument
1949 pub fn statfs(path: *const c_char, buf: *mut statfs) -> c_int; in statfs() argument
1951 pub fn fstatfs(fd: c_int, buf: *mut statfs) -> c_int; in fstatfs() argument
1952 pub fn memrchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memrchr() argument
1954 pub fn posix_fadvise(fd: c_int, offset: off_t, len: off_t, advise: c_int) -> c_int; in posix_fadvise() argument
1956 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() argument
1959 dirfd: c_int, in utimensat() argument
1962 flag: c_int, in utimensat() argument
1963 ) -> c_int; in utimensat() argument
1966 pub fn newlocale(mask: c_int, locale: *const c_char, base: crate::locale_t) -> crate::locale_t; in newlocale() argument
1968 pub fn mknodat(dirfd: c_int, pathname: *const c_char, mode: mode_t, dev: dev_t) -> c_int; in mknodat() argument
1972 ) -> c_int; in pthread_condattr_getclock() argument
1976 ) -> c_int; in pthread_condattr_setclock() argument
1977 pub fn pthread_condattr_setpshared(attr: *mut pthread_condattr_t, pshared: c_int) -> c_int; in pthread_condattr_setpshared() argument
1978 pub fn pthread_mutexattr_setpshared(attr: *mut pthread_mutexattr_t, pshared: c_int) -> c_int; in pthread_mutexattr_setpshared() argument
1981 val: *mut c_int, in pthread_rwlockattr_getpshared() argument
1982 ) -> c_int; in pthread_rwlockattr_getpshared() argument
1983 pub fn pthread_rwlockattr_setpshared(attr: *mut pthread_rwlockattr_t, val: c_int) -> c_int; in pthread_rwlockattr_setpshared() argument
1984 pub fn ptsname_r(fd: c_int, buf: *mut c_char, buflen: size_t) -> c_int; in ptsname_r() argument
1985 pub fn clearenv() -> c_int; in clearenv()
1990 options: c_int, in waitid() argument
1991 ) -> c_int; in waitid() argument
1996 ) -> c_int; in getresuid() argument
2001 ) -> c_int; in getresgid() argument
2002 pub fn acct(filename: *const c_char) -> c_int; in acct() argument
2003 pub fn brk(addr: *mut c_void) -> c_int; in brk() argument
2010 pub fn setresgid(rgid: crate::gid_t, egid: crate::gid_t, sgid: crate::gid_t) -> c_int; in setresgid() argument
2011 pub fn setresuid(ruid: crate::uid_t, euid: crate::uid_t, suid: crate::uid_t) -> c_int; in setresuid() argument
2015 status: *mut c_int, in wait4() argument
2016 options: c_int, in wait4() argument
2019 pub fn login_tty(fd: c_int) -> c_int; in login_tty() argument
2026 ) -> c_int; in execvpe() argument
2027 pub fn fexecve(fd: c_int, argv: *const *const c_char, envp: *const *const c_char) -> c_int; in fexecve() argument
2029 pub fn getifaddrs(ifap: *mut *mut crate::ifaddrs) -> c_int; in getifaddrs() argument
2032 socket: c_int, in bind() argument
2035 ) -> c_int; in bind() argument
2037 pub fn writev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in writev() argument
2038 pub fn readv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in readv() argument
2041 pub fn sendmsg(fd: c_int, msg: *const crate::msghdr, flags: c_int) -> ssize_t; in sendmsg() argument
2043 pub fn recvmsg(fd: c_int, msg: *mut crate::msghdr, flags: c_int) -> ssize_t; in recvmsg() argument
2044 pub fn uname(buf: *mut crate::utsname) -> c_int; in uname() argument
2046 pub fn strchrnul(s: *const c_char, c: c_int) -> *mut c_char; in strchrnul()
2064 pub fn mkostemp(template: *mut c_char, flags: c_int) -> c_int; in mkostemp() argument
2066 pub fn mkostemps(template: *mut c_char, suffixlen: c_int, flags: c_int) -> c_int; in mkostemps() argument
2068 pub fn getdomainname(name: *mut c_char, len: size_t) -> c_int; in getdomainname() argument
2069 pub fn setdomainname(name: *const c_char, len: size_t) -> c_int; in setdomainname() argument
2079 pub fn fstatfs64(fd: c_int, buf: *mut statfs64) -> c_int;
2080 pub fn statvfs64(path: *const c_char, buf: *mut statvfs64) -> c_int;
2081 pub fn fstatvfs64(fd: c_int, buf: *mut statvfs64) -> c_int;
2082 pub fn statfs64(path: *const c_char, buf: *mut statfs64) -> c_int;
2083 pub fn creat64(path: *const c_char, mode: mode_t) -> c_int;
2085 pub fn fstat64(fildes: c_int, buf: *mut stat64) -> c_int;
2088 dirfd: c_int,
2091 flags: c_int,
2092 ) -> c_int;
2093 pub fn ftruncate64(fd: c_int, length: off64_t) -> c_int;
2094 pub fn lseek64(fd: c_int, offset: off64_t, whence: c_int) -> off64_t;
2096 pub fn lstat64(path: *const c_char, buf: *mut stat64) -> c_int;
2100 prot: c_int,
2101 flags: c_int,
2102 fd: c_int,
2105 pub fn open64(path: *const c_char, oflag: c_int, ...) -> c_int;
2106 pub fn openat64(fd: c_int, path: *const c_char, oflag: c_int, ...) -> c_int;
2108 fd: c_int,
2111 advise: c_int,
2112 ) -> c_int;
2113 pub fn pread64(fd: c_int, buf: *mut c_void, count: size_t, offset: off64_t) -> ssize_t;
2115 fd: c_int,
2125 ) -> c_int;
2127 pub fn stat64(path: *const c_char, buf: *mut stat64) -> c_int;
2128 pub fn truncate64(path: *const c_char, length: off64_t) -> c_int;
2141 fd: c_int,
2143 iovcnt: c_int,
2147 fd: c_int,
2149 iovcnt: c_int,
2161 amaster: *mut c_int,
2168 amaster: *mut c_int,
2169 aslave: *mut c_int,
2173 ) -> c_int;
2183 dirfd: c_int,
2185 flags: c_int,
2188 ) -> c_int;