Lines Matching refs:c_int
32 pub type clockid_t = c_int;
33 pub type key_t = c_int;
44 pub type mqd_t = c_int;
46 pub type nl_item = c_int;
54 pub type __s32 = c_int;
204 pub imr_ifindex: c_int,
215 pub h_addrtype: c_int,
216 pub h_length: c_int,
226 pub fd: c_int,
239 pub l_onoff: c_int,
240 pub l_linger: c_int,
265 pub s_port: c_int,
272 pub p_proto: c_int,
276 pub aio_fildes: c_int,
277 pub aio_lio_opcode: c_int,
278 pub aio_reqprio: c_int,
283 __lock: [c_int; 2],
284 __err: c_int,
300 pub sa_flags: c_int,
358 pub ai_flags: c_int,
359 pub ai_family: c_int,
360 pub ai_socktype: c_int,
361 pub ai_protocol: c_int,
374 pub sll_ifindex: c_int,
386 pub tm_sec: c_int,
387 pub tm_min: c_int,
388 pub tm_hour: c_int,
389 pub tm_mday: c_int,
390 pub tm_mon: c_int,
391 pub tm_year: c_int,
392 pub tm_wday: c_int,
393 pub tm_yday: c_int,
394 pub tm_isdst: c_int,
400 pub sched_priority: c_int,
401 pub sched_ss_low_priority: c_int,
404 pub sched_ss_max_repl: c_int,
455 pub gl_flags: c_int,
508 __f_unused: c_int,
513 __f_spare: [c_int; 6],
559 __val: [c_int; 2],
576 pub msgpool: c_int,
577 pub msgmap: c_int,
578 pub msgmax: c_int,
579 pub msgmnb: c_int,
580 pub msgmni: c_int,
581 pub msgssz: c_int,
582 pub msgtql: c_int,
777 __f_spare: [c_int; 6],
782 pub ss_flags: c_int,
840 pub msg_iovlen: c_int,
841 __pad1: c_int,
845 pub msg_flags: c_int,
850 pub __pad1: c_int,
851 pub cmsg_level: c_int,
852 pub cmsg_type: c_int,
856 __val: [c_int; 8],
860 pub si_signo: c_int,
861 pub si_errno: c_int,
862 pub si_code: c_int,
863 pub _pad: [c_int; 29],
996 pub sigev_signo: c_int,
997 pub sigev_notify: c_int,
1313 pub const INT_MIN: c_int = -2147483648;
1314 pub const INT_MAX: c_int = 2147483647;
1329 pub const FD_CLOEXEC: c_int = 0x1;
1331 pub const USRQUOTA: c_int = 0;
1332 pub const GRPQUOTA: c_int = 1;
1334 pub const SIGIOT: c_int = 6;
1343 pub const LOG_EMERG: c_int = 0;
1344 pub const LOG_ALERT: c_int = 1;
1345 pub const LOG_CRIT: c_int = 2;
1346 pub const LOG_ERR: c_int = 3;
1347 pub const LOG_WARNING: c_int = 4;
1348 pub const LOG_NOTICE: c_int = 5;
1349 pub const LOG_INFO: c_int = 6;
1350 pub const LOG_DEBUG: c_int = 7;
1352 pub const LOG_KERN: c_int = 0;
1353 pub const LOG_USER: c_int = 1 << 3;
1354 pub const LOG_MAIL: c_int = 2 << 3;
1355 pub const LOG_DAEMON: c_int = 3 << 3;
1356 pub const LOG_AUTH: c_int = 4 << 3;
1357 pub const LOG_SYSLOG: c_int = 5 << 3;
1358 pub const LOG_LPR: c_int = 6 << 3;
1359 pub const LOG_NEWS: c_int = 7 << 3;
1360 pub const LOG_UUCP: c_int = 8 << 3;
1361 pub const LOG_LOCAL0: c_int = 16 << 3;
1362 pub const LOG_LOCAL1: c_int = 17 << 3;
1363 pub const LOG_LOCAL2: c_int = 18 << 3;
1364 pub const LOG_LOCAL3: c_int = 19 << 3;
1365 pub const LOG_LOCAL4: c_int = 20 << 3;
1366 pub const LOG_LOCAL5: c_int = 21 << 3;
1367 pub const LOG_LOCAL6: c_int = 22 << 3;
1368 pub const LOG_LOCAL7: c_int = 23 << 3;
1370 pub const LOG_PID: c_int = 0x01;
1371 pub const LOG_CONS: c_int = 0x02;
1372 pub const LOG_ODELAY: c_int = 0x04;
1373 pub const LOG_NDELAY: c_int = 0x08;
1374 pub const LOG_NOWAIT: c_int = 0x10;
1376 pub const LOG_PRIMASK: c_int = 7;
1377 pub const LOG_FACMASK: c_int = 0x3f8;
1379 pub const PRIO_PROCESS: c_int = 0;
1380 pub const PRIO_PGRP: c_int = 1;
1381 pub const PRIO_USER: c_int = 2;
1383 pub const PRIO_MIN: c_int = -20;
1384 pub const PRIO_MAX: c_int = 20;
1386 pub const IPPROTO_ICMP: c_int = 1;
1387 pub const IPPROTO_ICMPV6: c_int = 58;
1388 pub const IPPROTO_TCP: c_int = 6;
1389 pub const IPPROTO_UDP: c_int = 17;
1390 pub const IPPROTO_IP: c_int = 0;
1391 pub const IPPROTO_IPV6: c_int = 41;
1398 pub const EXIT_FAILURE: c_int = 1;
1399 pub const EXIT_SUCCESS: c_int = 0;
1400 pub const RAND_MAX: c_int = 2147483647;
1401 pub const EOF: c_int = -1;
1402 pub const SEEK_SET: c_int = 0;
1403 pub const SEEK_CUR: c_int = 1;
1404 pub const SEEK_END: c_int = 2;
1405 pub const _IOFBF: c_int = 0;
1406 pub const _IONBF: c_int = 2;
1407 pub const _IOLBF: c_int = 1;
1409 pub const F_DUPFD: c_int = 0;
1410 pub const F_GETFD: c_int = 1;
1411 pub const F_SETFD: c_int = 2;
1412 pub const F_GETFL: c_int = 3;
1413 pub const F_SETFL: c_int = 4;
1416 pub const F_SETLEASE: c_int = 1024;
1417 pub const F_GETLEASE: c_int = 1025;
1418 pub const F_NOTIFY: c_int = 1026;
1419 pub const F_CANCELLK: c_int = 1029;
1420 pub const F_DUPFD_CLOEXEC: c_int = 1030;
1421 pub const F_SETPIPE_SZ: c_int = 1031;
1422 pub const F_GETPIPE_SZ: c_int = 1032;
1423 pub const F_ADD_SEALS: c_int = 1033;
1424 pub const F_GET_SEALS: c_int = 1034;
1426 pub const F_SEAL_SEAL: c_int = 0x0001;
1427 pub const F_SEAL_SHRINK: c_int = 0x0002;
1428 pub const F_SEAL_GROW: c_int = 0x0004;
1429 pub const F_SEAL_WRITE: c_int = 0x0008;
1433 pub const SIGTRAP: c_int = 5;
1435 pub const PTHREAD_CREATE_JOINABLE: c_int = 0;
1436 pub const PTHREAD_CREATE_DETACHED: c_int = 1;
1450 pub const TIMER_ABSTIME: c_int = 1;
1452 pub const RLIMIT_CPU: c_int = 0;
1453 pub const RLIMIT_FSIZE: c_int = 1;
1454 pub const RLIMIT_DATA: c_int = 2;
1455 pub const RLIMIT_STACK: c_int = 3;
1456 pub const RLIMIT_CORE: c_int = 4;
1457 pub const RLIMIT_LOCKS: c_int = 10;
1458 pub const RLIMIT_SIGPENDING: c_int = 11;
1459 pub const RLIMIT_MSGQUEUE: c_int = 12;
1460 pub const RLIMIT_NICE: c_int = 13;
1461 pub const RLIMIT_RTPRIO: c_int = 14;
1463 pub const RUSAGE_SELF: c_int = 0;
1465 pub const O_RDONLY: c_int = 0;
1466 pub const O_WRONLY: c_int = 1;
1467 pub const O_RDWR: c_int = 2;
1489 pub const F_OK: c_int = 0;
1490 pub const R_OK: c_int = 4;
1491 pub const W_OK: c_int = 2;
1492 pub const X_OK: c_int = 1;
1493 pub const STDIN_FILENO: c_int = 0;
1494 pub const STDOUT_FILENO: c_int = 1;
1495 pub const STDERR_FILENO: c_int = 2;
1496 pub const SIGHUP: c_int = 1;
1497 pub const SIGINT: c_int = 2;
1498 pub const SIGQUIT: c_int = 3;
1499 pub const SIGILL: c_int = 4;
1500 pub const SIGABRT: c_int = 6;
1501 pub const SIGFPE: c_int = 8;
1502 pub const SIGKILL: c_int = 9;
1503 pub const SIGSEGV: c_int = 11;
1504 pub const SIGPIPE: c_int = 13;
1505 pub const SIGALRM: c_int = 14;
1506 pub const SIGTERM: c_int = 15;
1508 pub const PROT_NONE: c_int = 0;
1509 pub const PROT_READ: c_int = 1;
1510 pub const PROT_WRITE: c_int = 2;
1511 pub const PROT_EXEC: c_int = 4;
1513 pub const LC_CTYPE: c_int = 0;
1514 pub const LC_NUMERIC: c_int = 1;
1515 pub const LC_TIME: c_int = 2;
1516 pub const LC_COLLATE: c_int = 3;
1517 pub const LC_MONETARY: c_int = 4;
1518 pub const LC_MESSAGES: c_int = 5;
1519 pub const LC_ALL: c_int = 6;
1520 pub const LC_CTYPE_MASK: c_int = 1 << LC_CTYPE;
1521 pub const LC_NUMERIC_MASK: c_int = 1 << LC_NUMERIC;
1522 pub const LC_TIME_MASK: c_int = 1 << LC_TIME;
1523 pub const LC_COLLATE_MASK: c_int = 1 << LC_COLLATE;
1524 pub const LC_MONETARY_MASK: c_int = 1 << LC_MONETARY;
1525 pub const LC_MESSAGES_MASK: c_int = 1 << LC_MESSAGES;
1528 pub const MAP_FILE: c_int = 0x0000;
1529 pub const MAP_SHARED: c_int = 0x0001;
1530 pub const MAP_PRIVATE: c_int = 0x0002;
1531 pub const MAP_FIXED: c_int = 0x0010;
1536 pub const MS_ASYNC: c_int = 0x0001;
1537 pub const MS_INVALIDATE: c_int = 0x0002;
1538 pub const MS_SYNC: c_int = 0x0004;
1570 pub const EPERM: c_int = 1;
1571 pub const ENOENT: c_int = 2;
1572 pub const ESRCH: c_int = 3;
1573 pub const EINTR: c_int = 4;
1574 pub const EIO: c_int = 5;
1575 pub const ENXIO: c_int = 6;
1576 pub const E2BIG: c_int = 7;
1577 pub const ENOEXEC: c_int = 8;
1578 pub const EBADF: c_int = 9;
1579 pub const ECHILD: c_int = 10;
1580 pub const EAGAIN: c_int = 11;
1581 pub const ENOMEM: c_int = 12;
1582 pub const EACCES: c_int = 13;
1583 pub const EFAULT: c_int = 14;
1584 pub const ENOTBLK: c_int = 15;
1585 pub const EBUSY: c_int = 16;
1586 pub const EEXIST: c_int = 17;
1587 pub const EXDEV: c_int = 18;
1588 pub const ENODEV: c_int = 19;
1589 pub const ENOTDIR: c_int = 20;
1590 pub const EISDIR: c_int = 21;
1591 pub const EINVAL: c_int = 22;
1592 pub const ENFILE: c_int = 23;
1593 pub const EMFILE: c_int = 24;
1594 pub const ENOTTY: c_int = 25;
1595 pub const ETXTBSY: c_int = 26;
1596 pub const EFBIG: c_int = 27;
1597 pub const ENOSPC: c_int = 28;
1598 pub const ESPIPE: c_int = 29;
1599 pub const EROFS: c_int = 30;
1600 pub const EMLINK: c_int = 31;
1601 pub const EPIPE: c_int = 32;
1602 pub const EDOM: c_int = 33;
1603 pub const ERANGE: c_int = 34;
1604 pub const EWOULDBLOCK: c_int = EAGAIN;
1606 pub const SCM_RIGHTS: c_int = 0x01;
1607 pub const SCM_CREDENTIALS: c_int = 0x02;
1609 pub const PROT_GROWSDOWN: c_int = 0x1000000;
1610 pub const PROT_GROWSUP: c_int = 0x2000000;
1612 pub const MAP_TYPE: c_int = 0x000f;
1614 pub const MADV_NORMAL: c_int = 0;
1615 pub const MADV_RANDOM: c_int = 1;
1616 pub const MADV_SEQUENTIAL: c_int = 2;
1617 pub const MADV_WILLNEED: c_int = 3;
1618 pub const MADV_DONTNEED: c_int = 4;
1619 pub const MADV_FREE: c_int = 8;
1620 pub const MADV_REMOVE: c_int = 9;
1621 pub const MADV_DONTFORK: c_int = 10;
1622 pub const MADV_DOFORK: c_int = 11;
1623 pub const MADV_MERGEABLE: c_int = 12;
1624 pub const MADV_UNMERGEABLE: c_int = 13;
1625 pub const MADV_HUGEPAGE: c_int = 14;
1626 pub const MADV_NOHUGEPAGE: c_int = 15;
1627 pub const MADV_DONTDUMP: c_int = 16;
1628 pub const MADV_DODUMP: c_int = 17;
1629 pub const MADV_HWPOISON: c_int = 100;
1630 pub const MADV_SOFT_OFFLINE: c_int = 101;
1632 pub const IFF_UP: c_int = 0x1;
1633 pub const IFF_BROADCAST: c_int = 0x2;
1634 pub const IFF_DEBUG: c_int = 0x4;
1635 pub const IFF_LOOPBACK: c_int = 0x8;
1636 pub const IFF_POINTOPOINT: c_int = 0x10;
1637 pub const IFF_NOTRAILERS: c_int = 0x20;
1638 pub const IFF_RUNNING: c_int = 0x40;
1639 pub const IFF_NOARP: c_int = 0x80;
1640 pub const IFF_PROMISC: c_int = 0x100;
1641 pub const IFF_ALLMULTI: c_int = 0x200;
1642 pub const IFF_MASTER: c_int = 0x400;
1643 pub const IFF_SLAVE: c_int = 0x800;
1644 pub const IFF_MULTICAST: c_int = 0x1000;
1645 pub const IFF_PORTSEL: c_int = 0x2000;
1646 pub const IFF_AUTOMEDIA: c_int = 0x4000;
1647 pub const IFF_DYNAMIC: c_int = 0x8000;
1648 pub const IFF_TUN: c_int = 0x0001;
1649 pub const IFF_TAP: c_int = 0x0002;
1650 pub const IFF_NO_PI: c_int = 0x1000;
1652 pub const SOL_IP: c_int = 0;
1653 pub const SOL_TCP: c_int = 6;
1654 pub const SOL_UDP: c_int = 17;
1655 pub const SOL_IPV6: c_int = 41;
1656 pub const SOL_ICMPV6: c_int = 58;
1657 pub const SOL_RAW: c_int = 255;
1658 pub const SOL_DECNET: c_int = 261;
1659 pub const SOL_X25: c_int = 262;
1660 pub const SOL_PACKET: c_int = 263;
1661 pub const SOL_ATM: c_int = 264;
1662 pub const SOL_AAL: c_int = 265;
1663 pub const SOL_IRDA: c_int = 266;
1664 pub const SOL_NETBEUI: c_int = 267;
1665 pub const SOL_LLC: c_int = 268;
1666 pub const SOL_DCCP: c_int = 269;
1667 pub const SOL_NETLINK: c_int = 270;
1668 pub const SOL_TIPC: c_int = 271;
1670 pub const AF_UNSPEC: c_int = 0;
1671 pub const AF_UNIX: c_int = 1;
1672 pub const AF_LOCAL: c_int = 1;
1673 pub const AF_INET: c_int = 2;
1674 pub const AF_AX25: c_int = 3;
1675 pub const AF_IPX: c_int = 4;
1676 pub const AF_APPLETALK: c_int = 5;
1677 pub const AF_NETROM: c_int = 6;
1678 pub const AF_BRIDGE: c_int = 7;
1679 pub const AF_ATMPVC: c_int = 8;
1680 pub const AF_X25: c_int = 9;
1681 pub const AF_INET6: c_int = 10;
1682 pub const AF_ROSE: c_int = 11;
1683 pub const AF_DECnet: c_int = 12;
1684 pub const AF_NETBEUI: c_int = 13;
1685 pub const AF_SECURITY: c_int = 14;
1686 pub const AF_KEY: c_int = 15;
1687 pub const AF_NETLINK: c_int = 16;
1688 pub const AF_ROUTE: c_int = AF_NETLINK;
1689 pub const AF_PACKET: c_int = 17;
1690 pub const AF_ASH: c_int = 18;
1691 pub const AF_ECONET: c_int = 19;
1692 pub const AF_ATMSVC: c_int = 20;
1693 pub const AF_RDS: c_int = 21;
1694 pub const AF_SNA: c_int = 22;
1695 pub const AF_IRDA: c_int = 23;
1696 pub const AF_PPPOX: c_int = 24;
1697 pub const AF_WANPIPE: c_int = 25;
1698 pub const AF_LLC: c_int = 26;
1699 pub const AF_CAN: c_int = 29;
1700 pub const AF_TIPC: c_int = 30;
1701 pub const AF_BLUETOOTH: c_int = 31;
1702 pub const AF_IUCV: c_int = 32;
1703 pub const AF_RXRPC: c_int = 33;
1704 pub const AF_ISDN: c_int = 34;
1705 pub const AF_PHONET: c_int = 35;
1706 pub const AF_IEEE802154: c_int = 36;
1707 pub const AF_CAIF: c_int = 37;
1708 pub const AF_ALG: c_int = 38;
1710 pub const PF_UNSPEC: c_int = AF_UNSPEC;
1711 pub const PF_UNIX: c_int = AF_UNIX;
1712 pub const PF_LOCAL: c_int = AF_LOCAL;
1713 pub const PF_INET: c_int = AF_INET;
1714 pub const PF_AX25: c_int = AF_AX25;
1715 pub const PF_IPX: c_int = AF_IPX;
1716 pub const PF_APPLETALK: c_int = AF_APPLETALK;
1717 pub const PF_NETROM: c_int = AF_NETROM;
1718 pub const PF_BRIDGE: c_int = AF_BRIDGE;
1719 pub const PF_ATMPVC: c_int = AF_ATMPVC;
1720 pub const PF_X25: c_int = AF_X25;
1721 pub const PF_INET6: c_int = AF_INET6;
1722 pub const PF_ROSE: c_int = AF_ROSE;
1723 pub const PF_DECnet: c_int = AF_DECnet;
1724 pub const PF_NETBEUI: c_int = AF_NETBEUI;
1725 pub const PF_SECURITY: c_int = AF_SECURITY;
1726 pub const PF_KEY: c_int = AF_KEY;
1727 pub const PF_NETLINK: c_int = AF_NETLINK;
1728 pub const PF_ROUTE: c_int = AF_ROUTE;
1729 pub const PF_PACKET: c_int = AF_PACKET;
1730 pub const PF_ASH: c_int = AF_ASH;
1731 pub const PF_ECONET: c_int = AF_ECONET;
1732 pub const PF_ATMSVC: c_int = AF_ATMSVC;
1733 pub const PF_RDS: c_int = AF_RDS;
1734 pub const PF_SNA: c_int = AF_SNA;
1735 pub const PF_IRDA: c_int = AF_IRDA;
1736 pub const PF_PPPOX: c_int = AF_PPPOX;
1737 pub const PF_WANPIPE: c_int = AF_WANPIPE;
1738 pub const PF_LLC: c_int = AF_LLC;
1739 pub const PF_CAN: c_int = AF_CAN;
1740 pub const PF_TIPC: c_int = AF_TIPC;
1741 pub const PF_BLUETOOTH: c_int = AF_BLUETOOTH;
1742 pub const PF_IUCV: c_int = AF_IUCV;
1743 pub const PF_RXRPC: c_int = AF_RXRPC;
1744 pub const PF_ISDN: c_int = AF_ISDN;
1745 pub const PF_PHONET: c_int = AF_PHONET;
1746 pub const PF_IEEE802154: c_int = AF_IEEE802154;
1747 pub const PF_CAIF: c_int = AF_CAIF;
1748 pub const PF_ALG: c_int = AF_ALG;
1750 pub const SOMAXCONN: c_int = 128;
1752 pub const MSG_OOB: c_int = 1;
1753 pub const MSG_PEEK: c_int = 2;
1754 pub const MSG_DONTROUTE: c_int = 4;
1755 pub const MSG_CTRUNC: c_int = 8;
1756 pub const MSG_TRUNC: c_int = 0x20;
1757 pub const MSG_DONTWAIT: c_int = 0x40;
1758 pub const MSG_EOR: c_int = 0x80;
1759 pub const MSG_WAITALL: c_int = 0x100;
1760 pub const MSG_FIN: c_int = 0x200;
1761 pub const MSG_SYN: c_int = 0x400;
1762 pub const MSG_CONFIRM: c_int = 0x800;
1763 pub const MSG_RST: c_int = 0x1000;
1764 pub const MSG_ERRQUEUE: c_int = 0x2000;
1765 pub const MSG_NOSIGNAL: c_int = 0x4000;
1766 pub const MSG_MORE: c_int = 0x8000;
1767 pub const MSG_WAITFORONE: c_int = 0x10000;
1768 pub const MSG_FASTOPEN: c_int = 0x20000000;
1769 pub const MSG_CMSG_CLOEXEC: c_int = 0x40000000;
1771 pub const SCM_TIMESTAMP: c_int = SO_TIMESTAMP;
1773 pub const SOCK_RAW: c_int = 3;
1774 pub const SOCK_RDM: c_int = 4;
1776 pub const IP_TOS: c_int = 1;
1777 pub const IP_TTL: c_int = 2;
1778 pub const IP_HDRINCL: c_int = 3;
1779 pub const IP_RECVTOS: c_int = 13;
1780 pub const IP_FREEBIND: c_int = 15;
1781 pub const IP_TRANSPARENT: c_int = 19;
1782 pub const IP_MULTICAST_IF: c_int = 32;
1783 pub const IP_MULTICAST_TTL: c_int = 33;
1784 pub const IP_MULTICAST_LOOP: c_int = 34;
1785 pub const IP_ADD_MEMBERSHIP: c_int = 35;
1786 pub const IP_DROP_MEMBERSHIP: c_int = 36;
1788 pub const IPV6_UNICAST_HOPS: c_int = 16;
1789 pub const IPV6_MULTICAST_IF: c_int = 17;
1790 pub const IPV6_MULTICAST_HOPS: c_int = 18;
1791 pub const IPV6_MULTICAST_LOOP: c_int = 19;
1792 pub const IPV6_ADD_MEMBERSHIP: c_int = 20;
1793 pub const IPV6_DROP_MEMBERSHIP: c_int = 21;
1794 pub const IPV6_V6ONLY: c_int = 26;
1795 pub const IPV6_RECVPKTINFO: c_int = 49;
1796 pub const IPV6_RECVTCLASS: c_int = 66;
1797 pub const IPV6_TCLASS: c_int = 67;
1799 pub const TCP_NODELAY: c_int = 1;
1800 pub const TCP_MAXSEG: c_int = 2;
1801 pub const TCP_CORK: c_int = 3;
1802 pub const TCP_KEEPIDLE: c_int = 4;
1803 pub const TCP_KEEPINTVL: c_int = 5;
1804 pub const TCP_KEEPCNT: c_int = 6;
1805 pub const TCP_SYNCNT: c_int = 7;
1806 pub const TCP_LINGER2: c_int = 8;
1807 pub const TCP_DEFER_ACCEPT: c_int = 9;
1808 pub const TCP_WINDOW_CLAMP: c_int = 10;
1809 pub const TCP_INFO: c_int = 11;
1810 pub const TCP_QUICKACK: c_int = 12;
1811 pub const TCP_CONGESTION: c_int = 13;
1813 pub const SO_DEBUG: c_int = 1;
1815 pub const SHUT_RD: c_int = 0;
1816 pub const SHUT_WR: c_int = 1;
1817 pub const SHUT_RDWR: c_int = 2;
1819 pub const LOCK_SH: c_int = 1;
1820 pub const LOCK_EX: c_int = 2;
1821 pub const LOCK_NB: c_int = 4;
1822 pub const LOCK_UN: c_int = 8;
1824 pub const SS_ONSTACK: c_int = 1;
1825 pub const SS_DISABLE: c_int = 2;
1827 pub const PATH_MAX: c_int = 4096;
1831 pub const EPOLLIN: c_int = 0x1;
1832 pub const EPOLLPRI: c_int = 0x2;
1833 pub const EPOLLOUT: c_int = 0x4;
1834 pub const EPOLLRDNORM: c_int = 0x40;
1835 pub const EPOLLRDBAND: c_int = 0x80;
1836 pub const EPOLLWRNORM: c_int = 0x100;
1837 pub const EPOLLWRBAND: c_int = 0x200;
1838 pub const EPOLLMSG: c_int = 0x400;
1839 pub const EPOLLERR: c_int = 0x8;
1840 pub const EPOLLHUP: c_int = 0x10;
1841 pub const EPOLLET: c_int = 0x80000000;
1843 pub const EPOLL_CTL_ADD: c_int = 1;
1844 pub const EPOLL_CTL_MOD: c_int = 3;
1845 pub const EPOLL_CTL_DEL: c_int = 2;
1847 pub const MNT_DETACH: c_int = 0x2;
1848 pub const MNT_EXPIRE: c_int = 0x4;
1850 pub const Q_GETFMT: c_int = 0x800004;
1851 pub const Q_GETINFO: c_int = 0x800005;
1852 pub const Q_SETINFO: c_int = 0x800006;
1864 pub const MNT_FORCE: c_int = 0x1;
1866 pub const Q_SYNC: c_int = 0x800001;
1867 pub const Q_QUOTAON: c_int = 0x800002;
1868 pub const Q_QUOTAOFF: c_int = 0x800003;
1869 pub const Q_GETQUOTA: c_int = 0x800007;
1870 pub const Q_SETQUOTA: c_int = 0x800008;
1872 pub const TCIOFF: c_int = 2;
1873 pub const TCION: c_int = 3;
1874 pub const TCOOFF: c_int = 0;
1875 pub const TCOON: c_int = 1;
1876 pub const TCIFLUSH: c_int = 0;
1877 pub const TCOFLUSH: c_int = 1;
1878 pub const TCIOFLUSH: c_int = 2;
1879 pub const NL0: c_int = 0x00000000;
1880 pub const NL1: c_int = 0x00000100;
1881 pub const TAB0: c_int = 0x00000000;
1882 pub const CR0: c_int = 0x00000000;
1883 pub const FF0: c_int = 0x00000000;
1884 pub const BS0: c_int = 0x00000000;
1885 pub const VT0: c_int = 0x00000000;
1912 pub const CLONE_VM: c_int = 0x100;
1913 pub const CLONE_FS: c_int = 0x200;
1914 pub const CLONE_FILES: c_int = 0x400;
1915 pub const CLONE_SIGHAND: c_int = 0x800;
1916 pub const CLONE_PTRACE: c_int = 0x2000;
1917 pub const CLONE_VFORK: c_int = 0x4000;
1918 pub const CLONE_PARENT: c_int = 0x8000;
1919 pub const CLONE_THREAD: c_int = 0x10000;
1920 pub const CLONE_NEWNS: c_int = 0x20000;
1921 pub const CLONE_SYSVSEM: c_int = 0x40000;
1922 pub const CLONE_SETTLS: c_int = 0x80000;
1923 pub const CLONE_PARENT_SETTID: c_int = 0x100000;
1924 pub const CLONE_CHILD_CLEARTID: c_int = 0x200000;
1925 pub const CLONE_DETACHED: c_int = 0x400000;
1926 pub const CLONE_UNTRACED: c_int = 0x800000;
1927 pub const CLONE_CHILD_SETTID: c_int = 0x01000000;
1928 pub const CLONE_NEWUTS: c_int = 0x04000000;
1929 pub const CLONE_NEWIPC: c_int = 0x08000000;
1930 pub const CLONE_NEWUSER: c_int = 0x10000000;
1931 pub const CLONE_NEWPID: c_int = 0x20000000;
1932 pub const CLONE_NEWNET: c_int = 0x40000000;
1933 pub const CLONE_IO: c_int = 0x80000000;
1934 pub const CLONE_NEWCGROUP: c_int = 0x02000000;
1936 pub const WNOHANG: c_int = 0x00000001;
1937 pub const WUNTRACED: c_int = 0x00000002;
1938 pub const WSTOPPED: c_int = WUNTRACED;
1939 pub const WEXITED: c_int = 0x00000004;
1940 pub const WCONTINUED: c_int = 0x00000008;
1941 pub const WNOWAIT: c_int = 0x01000000;
1944 pub const PTRACE_O_TRACESYSGOOD: c_int = 0x00000001;
1945 pub const PTRACE_O_TRACEFORK: c_int = 0x00000002;
1946 pub const PTRACE_O_TRACEVFORK: c_int = 0x00000004;
1947 pub const PTRACE_O_TRACECLONE: c_int = 0x00000008;
1948 pub const PTRACE_O_TRACEEXEC: c_int = 0x00000010;
1949 pub const PTRACE_O_TRACEVFORKDONE: c_int = 0x00000020;
1950 pub const PTRACE_O_TRACEEXIT: c_int = 0x00000040;
1951 pub const PTRACE_O_TRACESECCOMP: c_int = 0x00000080;
1952 pub const PTRACE_O_EXITKILL: c_int = 0x00100000;
1953 pub const PTRACE_O_SUSPEND_SECCOMP: c_int = 0x00200000;
1954 pub const PTRACE_O_MASK: c_int = 0x003000ff;
1957 pub const PTRACE_EVENT_FORK: c_int = 1;
1958 pub const PTRACE_EVENT_VFORK: c_int = 2;
1959 pub const PTRACE_EVENT_CLONE: c_int = 3;
1960 pub const PTRACE_EVENT_EXEC: c_int = 4;
1961 pub const PTRACE_EVENT_VFORK_DONE: c_int = 5;
1962 pub const PTRACE_EVENT_EXIT: c_int = 6;
1963 pub const PTRACE_EVENT_SECCOMP: c_int = 7;
1967 pub const __WNOTHREAD: c_int = 0x20000000;
1968 pub const __WALL: c_int = 0x40000000;
1969 pub const __WCLONE: c_int = 0x80000000;
1976 pub const RTLD_LOCAL: c_int = 0;
1977 pub const RTLD_LAZY: c_int = 1;
1979 pub const POSIX_FADV_NORMAL: c_int = 0;
1980 pub const POSIX_FADV_RANDOM: c_int = 1;
1981 pub const POSIX_FADV_SEQUENTIAL: c_int = 2;
1982 pub const POSIX_FADV_WILLNEED: c_int = 3;
1984 pub const AT_FDCWD: c_int = -100;
1985 pub const AT_SYMLINK_NOFOLLOW: c_int = 0x100;
1986 pub const AT_REMOVEDIR: c_int = 0x200;
1987 pub const AT_EACCESS: c_int = 0x200;
1988 pub const AT_SYMLINK_FOLLOW: c_int = 0x400;
1989 pub const AT_NO_AUTOMOUNT: c_int = 0x800;
1990 pub const AT_EMPTY_PATH: c_int = 0x1000;
1992 pub const LOG_CRON: c_int = 9 << 3;
1993 pub const LOG_AUTHPRIV: c_int = 10 << 3;
1994 pub const LOG_FTP: c_int = 11 << 3;
1995 pub const LOG_PERROR: c_int = 0x20;
2001 pub const CLD_EXITED: c_int = 1;
2002 pub const CLD_KILLED: c_int = 2;
2003 pub const CLD_DUMPED: c_int = 3;
2004 pub const CLD_TRAPPED: c_int = 4;
2005 pub const CLD_STOPPED: c_int = 5;
2006 pub const CLD_CONTINUED: c_int = 6;
2008 pub const SIGEV_SIGNAL: c_int = 0;
2009 pub const SIGEV_NONE: c_int = 1;
2010 pub const SIGEV_THREAD: c_int = 2;
2088 pub const RUSAGE_THREAD: c_int = 1;
2089 pub const RUSAGE_CHILDREN: c_int = -1;
2101 pub const _PC_LINK_MAX: c_int = 0;
2102 pub const _PC_MAX_CANON: c_int = 1;
2103 pub const _PC_MAX_INPUT: c_int = 2;
2104 pub const _PC_NAME_MAX: c_int = 3;
2105 pub const _PC_PATH_MAX: c_int = 4;
2106 pub const _PC_PIPE_BUF: c_int = 5;
2107 pub const _PC_CHOWN_RESTRICTED: c_int = 6;
2108 pub const _PC_NO_TRUNC: c_int = 7;
2109 pub const _PC_VDISABLE: c_int = 8;
2110 pub const _PC_SYNC_IO: c_int = 9;
2111 pub const _PC_ASYNC_IO: c_int = 10;
2112 pub const _PC_PRIO_IO: c_int = 11;
2113 pub const _PC_SOCK_MAXBUF: c_int = 12;
2114 pub const _PC_FILESIZEBITS: c_int = 13;
2115 pub const _PC_REC_INCR_XFER_SIZE: c_int = 14;
2116 pub const _PC_REC_MAX_XFER_SIZE: c_int = 15;
2117 pub const _PC_REC_MIN_XFER_SIZE: c_int = 16;
2118 pub const _PC_REC_XFER_ALIGN: c_int = 17;
2119 pub const _PC_ALLOC_SIZE_MIN: c_int = 18;
2120 pub const _PC_SYMLINK_MAX: c_int = 19;
2121 pub const _PC_2_SYMLINKS: c_int = 20;
2123 pub const _SC_ARG_MAX: c_int = 0;
2124 pub const _SC_CHILD_MAX: c_int = 1;
2125 pub const _SC_CLK_TCK: c_int = 2;
2126 pub const _SC_NGROUPS_MAX: c_int = 3;
2127 pub const _SC_OPEN_MAX: c_int = 4;
2128 pub const _SC_STREAM_MAX: c_int = 5;
2129 pub const _SC_TZNAME_MAX: c_int = 6;
2130 pub const _SC_JOB_CONTROL: c_int = 7;
2131 pub const _SC_SAVED_IDS: c_int = 8;
2132 pub const _SC_REALTIME_SIGNALS: c_int = 9;
2133 pub const _SC_PRIORITY_SCHEDULING: c_int = 10;
2134 pub const _SC_TIMERS: c_int = 11;
2135 pub const _SC_ASYNCHRONOUS_IO: c_int = 12;
2136 pub const _SC_PRIORITIZED_IO: c_int = 13;
2137 pub const _SC_SYNCHRONIZED_IO: c_int = 14;
2138 pub const _SC_FSYNC: c_int = 15;
2139 pub const _SC_MAPPED_FILES: c_int = 16;
2140 pub const _SC_MEMLOCK: c_int = 17;
2141 pub const _SC_MEMLOCK_RANGE: c_int = 18;
2142 pub const _SC_MEMORY_PROTECTION: c_int = 19;
2143 pub const _SC_MESSAGE_PASSING: c_int = 20;
2144 pub const _SC_SEMAPHORES: c_int = 21;
2145 pub const _SC_SHARED_MEMORY_OBJECTS: c_int = 22;
2146 pub const _SC_AIO_LISTIO_MAX: c_int = 23;
2147 pub const _SC_AIO_MAX: c_int = 24;
2148 pub const _SC_AIO_PRIO_DELTA_MAX: c_int = 25;
2149 pub const _SC_DELAYTIMER_MAX: c_int = 26;
2150 pub const _SC_MQ_OPEN_MAX: c_int = 27;
2151 pub const _SC_MQ_PRIO_MAX: c_int = 28;
2152 pub const _SC_VERSION: c_int = 29;
2153 pub const _SC_PAGESIZE: c_int = 30;
2154 pub const _SC_PAGE_SIZE: c_int = _SC_PAGESIZE;
2155 pub const _SC_RTSIG_MAX: c_int = 31;
2156 pub const _SC_SEM_NSEMS_MAX: c_int = 32;
2157 pub const _SC_SEM_VALUE_MAX: c_int = 33;
2158 pub const _SC_SIGQUEUE_MAX: c_int = 34;
2159 pub const _SC_TIMER_MAX: c_int = 35;
2160 pub const _SC_BC_BASE_MAX: c_int = 36;
2161 pub const _SC_BC_DIM_MAX: c_int = 37;
2162 pub const _SC_BC_SCALE_MAX: c_int = 38;
2163 pub const _SC_BC_STRING_MAX: c_int = 39;
2164 pub const _SC_COLL_WEIGHTS_MAX: c_int = 40;
2165 pub const _SC_EXPR_NEST_MAX: c_int = 42;
2166 pub const _SC_LINE_MAX: c_int = 43;
2167 pub const _SC_RE_DUP_MAX: c_int = 44;
2168 pub const _SC_2_VERSION: c_int = 46;
2169 pub const _SC_2_C_BIND: c_int = 47;
2170 pub const _SC_2_C_DEV: c_int = 48;
2171 pub const _SC_2_FORT_DEV: c_int = 49;
2172 pub const _SC_2_FORT_RUN: c_int = 50;
2173 pub const _SC_2_SW_DEV: c_int = 51;
2174 pub const _SC_2_LOCALEDEF: c_int = 52;
2175 pub const _SC_UIO_MAXIOV: c_int = 60;
2176 pub const _SC_IOV_MAX: c_int = 60;
2177 pub const _SC_THREADS: c_int = 67;
2178 pub const _SC_THREAD_SAFE_FUNCTIONS: c_int = 68;
2179 pub const _SC_GETGR_R_SIZE_MAX: c_int = 69;
2180 pub const _SC_GETPW_R_SIZE_MAX: c_int = 70;
2181 pub const _SC_LOGIN_NAME_MAX: c_int = 71;
2182 pub const _SC_TTY_NAME_MAX: c_int = 72;
2183 pub const _SC_THREAD_DESTRUCTOR_ITERATIONS: c_int = 73;
2184 pub const _SC_THREAD_KEYS_MAX: c_int = 74;
2185 pub const _SC_THREAD_STACK_MIN: c_int = 75;
2186 pub const _SC_THREAD_THREADS_MAX: c_int = 76;
2187 pub const _SC_THREAD_ATTR_STACKADDR: c_int = 77;
2188 pub const _SC_THREAD_ATTR_STACKSIZE: c_int = 78;
2189 pub const _SC_THREAD_PRIORITY_SCHEDULING: c_int = 79;
2190 pub const _SC_THREAD_PRIO_INHERIT: c_int = 80;
2191 pub const _SC_THREAD_PRIO_PROTECT: c_int = 81;
2192 pub const _SC_THREAD_PROCESS_SHARED: c_int = 82;
2193 pub const _SC_NPROCESSORS_CONF: c_int = 83;
2194 pub const _SC_NPROCESSORS_ONLN: c_int = 84;
2195 pub const _SC_PHYS_PAGES: c_int = 85;
2196 pub const _SC_AVPHYS_PAGES: c_int = 86;
2197 pub const _SC_ATEXIT_MAX: c_int = 87;
2198 pub const _SC_PASS_MAX: c_int = 88;
2199 pub const _SC_XOPEN_VERSION: c_int = 89;
2200 pub const _SC_XOPEN_XCU_VERSION: c_int = 90;
2201 pub const _SC_XOPEN_UNIX: c_int = 91;
2202 pub const _SC_XOPEN_CRYPT: c_int = 92;
2203 pub const _SC_XOPEN_ENH_I18N: c_int = 93;
2204 pub const _SC_XOPEN_SHM: c_int = 94;
2205 pub const _SC_2_CHAR_TERM: c_int = 95;
2206 pub const _SC_2_UPE: c_int = 97;
2207 pub const _SC_XOPEN_XPG2: c_int = 98;
2208 pub const _SC_XOPEN_XPG3: c_int = 99;
2209 pub const _SC_XOPEN_XPG4: c_int = 100;
2210 pub const _SC_NZERO: c_int = 109;
2211 pub const _SC_XBS5_ILP32_OFF32: c_int = 125;
2212 pub const _SC_XBS5_ILP32_OFFBIG: c_int = 126;
2213 pub const _SC_XBS5_LP64_OFF64: c_int = 127;
2214 pub const _SC_XBS5_LPBIG_OFFBIG: c_int = 128;
2215 pub const _SC_XOPEN_LEGACY: c_int = 129;
2216 pub const _SC_XOPEN_REALTIME: c_int = 130;
2217 pub const _SC_XOPEN_REALTIME_THREADS: c_int = 131;
2218 pub const _SC_ADVISORY_INFO: c_int = 132;
2219 pub const _SC_BARRIERS: c_int = 133;
2220 pub const _SC_CLOCK_SELECTION: c_int = 137;
2221 pub const _SC_CPUTIME: c_int = 138;
2222 pub const _SC_THREAD_CPUTIME: c_int = 139;
2223 pub const _SC_MONOTONIC_CLOCK: c_int = 149;
2224 pub const _SC_READER_WRITER_LOCKS: c_int = 153;
2225 pub const _SC_SPIN_LOCKS: c_int = 154;
2226 pub const _SC_REGEXP: c_int = 155;
2227 pub const _SC_SHELL: c_int = 157;
2228 pub const _SC_SPAWN: c_int = 159;
2229 pub const _SC_SPORADIC_SERVER: c_int = 160;
2230 pub const _SC_THREAD_SPORADIC_SERVER: c_int = 161;
2231 pub const _SC_TIMEOUTS: c_int = 164;
2232 pub const _SC_TYPED_MEMORY_OBJECTS: c_int = 165;
2233 pub const _SC_2_PBS: c_int = 168;
2234 pub const _SC_2_PBS_ACCOUNTING: c_int = 169;
2235 pub const _SC_2_PBS_LOCATE: c_int = 170;
2236 pub const _SC_2_PBS_MESSAGE: c_int = 171;
2237 pub const _SC_2_PBS_TRACK: c_int = 172;
2238 pub const _SC_SYMLOOP_MAX: c_int = 173;
2239 pub const _SC_STREAMS: c_int = 174;
2240 pub const _SC_2_PBS_CHECKPOINT: c_int = 175;
2241 pub const _SC_V6_ILP32_OFF32: c_int = 176;
2242 pub const _SC_V6_ILP32_OFFBIG: c_int = 177;
2243 pub const _SC_V6_LP64_OFF64: c_int = 178;
2244 pub const _SC_V6_LPBIG_OFFBIG: c_int = 179;
2245 pub const _SC_HOST_NAME_MAX: c_int = 180;
2246 pub const _SC_TRACE: c_int = 181;
2247 pub const _SC_TRACE_EVENT_FILTER: c_int = 182;
2248 pub const _SC_TRACE_INHERIT: c_int = 183;
2249 pub const _SC_TRACE_LOG: c_int = 184;
2250 pub const _SC_IPV6: c_int = 235;
2251 pub const _SC_RAW_SOCKETS: c_int = 236;
2252 pub const _SC_V7_ILP32_OFF32: c_int = 237;
2253 pub const _SC_V7_ILP32_OFFBIG: c_int = 238;
2254 pub const _SC_V7_LP64_OFF64: c_int = 239;
2255 pub const _SC_V7_LPBIG_OFFBIG: c_int = 240;
2256 pub const _SC_SS_REPL_MAX: c_int = 241;
2257 pub const _SC_TRACE_EVENT_NAME_MAX: c_int = 242;
2258 pub const _SC_TRACE_NAME_MAX: c_int = 243;
2259 pub const _SC_TRACE_SYS_MAX: c_int = 244;
2260 pub const _SC_TRACE_USER_EVENT_MAX: c_int = 245;
2261 pub const _SC_XOPEN_STREAMS: c_int = 246;
2262 pub const _SC_THREAD_ROBUST_PRIO_INHERIT: c_int = 247;
2263 pub const _SC_THREAD_ROBUST_PRIO_PROTECT: c_int = 248;
2268 pub const GLOB_ERR: c_int = 1 << 0;
2269 pub const GLOB_MARK: c_int = 1 << 1;
2270 pub const GLOB_NOSORT: c_int = 1 << 2;
2271 pub const GLOB_DOOFFS: c_int = 1 << 3;
2272 pub const GLOB_NOCHECK: c_int = 1 << 4;
2273 pub const GLOB_APPEND: c_int = 1 << 5;
2274 pub const GLOB_NOESCAPE: c_int = 1 << 6;
2276 pub const GLOB_NOSPACE: c_int = 1;
2277 pub const GLOB_ABORTED: c_int = 2;
2278 pub const GLOB_NOMATCH: c_int = 3;
2280 pub const POSIX_MADV_NORMAL: c_int = 0;
2281 pub const POSIX_MADV_RANDOM: c_int = 1;
2282 pub const POSIX_MADV_SEQUENTIAL: c_int = 2;
2283 pub const POSIX_MADV_WILLNEED: c_int = 3;
2289 pub const F_LOCK: c_int = 1;
2290 pub const F_TEST: c_int = 3;
2291 pub const F_TLOCK: c_int = 2;
2292 pub const F_ULOCK: c_int = 0;
2294 pub const IFF_LOWER_UP: c_int = 0x10000;
2295 pub const IFF_DORMANT: c_int = 0x20000;
2296 pub const IFF_ECHO: c_int = 0x40000;
2312 pub const RTLD_NODELETE: c_int = 0x1000;
2313 pub const RTLD_NOW: c_int = 0x2;
2315 pub const TCP_MD5SIG: c_int = 14;
2326 pub const PTHREAD_MUTEX_NORMAL: c_int = 0;
2327 pub const PTHREAD_MUTEX_RECURSIVE: c_int = 1;
2328 pub const PTHREAD_MUTEX_ERRORCHECK: c_int = 2;
2329 pub const PTHREAD_MUTEX_DEFAULT: c_int = PTHREAD_MUTEX_NORMAL;
2330 pub const PTHREAD_PROCESS_PRIVATE: c_int = 0;
2331 pub const PTHREAD_PROCESS_SHARED: c_int = 1;
2334 pub const RENAME_NOREPLACE: c_int = 1;
2335 pub const RENAME_EXCHANGE: c_int = 2;
2336 pub const RENAME_WHITEOUT: c_int = 4;
2338 pub const SCHED_OTHER: c_int = 0;
2339 pub const SCHED_FIFO: c_int = 1;
2340 pub const SCHED_RR: c_int = 2;
2341 pub const SCHED_BATCH: c_int = 3;
2342 pub const SCHED_IDLE: c_int = 5;
2349 pub const IPPROTO_HOPOPTS: c_int = 0;
2352 pub const IPPROTO_IGMP: c_int = 2;
2354 pub const IPPROTO_IPIP: c_int = 4;
2357 pub const IPPROTO_EGP: c_int = 8;
2359 pub const IPPROTO_PUP: c_int = 12;
2362 pub const IPPROTO_IDP: c_int = 22;
2364 pub const IPPROTO_TP: c_int = 29;
2366 pub const IPPROTO_DCCP: c_int = 33;
2369 pub const IPPROTO_ROUTING: c_int = 43;
2371 pub const IPPROTO_FRAGMENT: c_int = 44;
2373 pub const IPPROTO_RSVP: c_int = 46;
2375 pub const IPPROTO_GRE: c_int = 47;
2377 pub const IPPROTO_ESP: c_int = 50;
2379 pub const IPPROTO_AH: c_int = 51;
2382 pub const IPPROTO_NONE: c_int = 59;
2384 pub const IPPROTO_DSTOPTS: c_int = 60;
2385 pub const IPPROTO_MTP: c_int = 92;
2386 pub const IPPROTO_BEETPH: c_int = 94;
2388 pub const IPPROTO_ENCAP: c_int = 98;
2390 pub const IPPROTO_PIM: c_int = 103;
2392 pub const IPPROTO_COMP: c_int = 108;
2394 pub const IPPROTO_SCTP: c_int = 132;
2395 pub const IPPROTO_MH: c_int = 135;
2396 pub const IPPROTO_UDPLITE: c_int = 136;
2397 pub const IPPROTO_MPLS: c_int = 137;
2399 pub const IPPROTO_RAW: c_int = 255;
2400 pub const IPPROTO_MAX: c_int = 256;
2402 pub const AF_IB: c_int = 27;
2403 pub const AF_MPLS: c_int = 28;
2404 pub const AF_NFC: c_int = 39;
2405 pub const AF_VSOCK: c_int = 40;
2406 pub const PF_IB: c_int = AF_IB;
2407 pub const PF_MPLS: c_int = AF_MPLS;
2408 pub const PF_NFC: c_int = AF_NFC;
2409 pub const PF_VSOCK: c_int = AF_VSOCK;
2414 pub const IPC_CREAT: c_int = 0o1000;
2415 pub const IPC_EXCL: c_int = 0o2000;
2416 pub const IPC_NOWAIT: c_int = 0o4000;
2418 pub const IPC_RMID: c_int = 0;
2419 pub const IPC_SET: c_int = 1;
2420 pub const IPC_STAT: c_int = 2;
2421 pub const IPC_INFO: c_int = 3;
2422 pub const MSG_STAT: c_int = 11;
2423 pub const MSG_INFO: c_int = 12;
2425 pub const MSG_NOERROR: c_int = 0o10000;
2426 pub const MSG_EXCEPT: c_int = 0o20000;
2427 pub const MSG_COPY: c_int = 0o40000;
2429 pub const SHM_R: c_int = 0o400;
2430 pub const SHM_W: c_int = 0o200;
2432 pub const SHM_RDONLY: c_int = 0o10000;
2433 pub const SHM_RND: c_int = 0o20000;
2434 pub const SHM_REMAP: c_int = 0o40000;
2435 pub const SHM_EXEC: c_int = 0o100000;
2437 pub const SHM_LOCK: c_int = 11;
2438 pub const SHM_UNLOCK: c_int = 12;
2440 pub const SHM_HUGETLB: c_int = 0o4000;
2441 pub const SHM_NORESERVE: c_int = 0o10000;
2443 pub const EPOLLRDHUP: c_int = 0x2000;
2444 pub const EPOLLEXCLUSIVE: c_int = 0x10000000;
2445 pub const EPOLLONESHOT: c_int = 0x40000000;
2447 pub const QFMT_VFS_OLD: c_int = 1;
2448 pub const QFMT_VFS_V0: c_int = 2;
2449 pub const QFMT_VFS_V1: c_int = 4;
2451 pub const EFD_SEMAPHORE: c_int = 0x1;
2453 pub const LOG_NFACILITIES: c_int = 24;
2457 pub const RB_AUTOBOOT: c_int = 0x01234567u32 as i32;
2458 pub const RB_HALT_SYSTEM: c_int = 0xcdef0123u32 as i32;
2459 pub const RB_ENABLE_CAD: c_int = 0x89abcdefu32 as i32;
2460 pub const RB_DISABLE_CAD: c_int = 0x00000000u32 as i32;
2461 pub const RB_POWER_OFF: c_int = 0x4321fedcu32 as i32;
2462 pub const RB_SW_SUSPEND: c_int = 0xd000fce2u32 as i32;
2463 pub const RB_KEXEC: c_int = 0x45584543u32 as i32;
2465 pub const AI_PASSIVE: c_int = 0x0001;
2466 pub const AI_CANONNAME: c_int = 0x0002;
2467 pub const AI_NUMERICHOST: c_int = 0x0004;
2468 pub const AI_V4MAPPED: c_int = 0x0008;
2469 pub const AI_ALL: c_int = 0x0010;
2470 pub const AI_ADDRCONFIG: c_int = 0x0020;
2472 pub const AI_NUMERICSERV: c_int = 0x0400;
2474 pub const EAI_BADFLAGS: c_int = -1;
2475 pub const EAI_NONAME: c_int = -2;
2476 pub const EAI_AGAIN: c_int = -3;
2477 pub const EAI_FAIL: c_int = -4;
2478 pub const EAI_FAMILY: c_int = -6;
2479 pub const EAI_SOCKTYPE: c_int = -7;
2480 pub const EAI_SERVICE: c_int = -8;
2481 pub const EAI_MEMORY: c_int = -10;
2482 pub const EAI_OVERFLOW: c_int = -12;
2484 pub const NI_NUMERICHOST: c_int = 1;
2485 pub const NI_NUMERICSERV: c_int = 2;
2486 pub const NI_NOFQDN: c_int = 4;
2487 pub const NI_NAMEREQD: c_int = 8;
2488 pub const NI_DGRAM: c_int = 16;
2494 pub const EAI_SYSTEM: c_int = -11;
2496 pub const AIO_CANCELED: c_int = 0;
2497 pub const AIO_NOTCANCELED: c_int = 1;
2498 pub const AIO_ALLDONE: c_int = 2;
2499 pub const LIO_READ: c_int = 0;
2500 pub const LIO_WRITE: c_int = 1;
2501 pub const LIO_NOP: c_int = 2;
2502 pub const LIO_WAIT: c_int = 0;
2503 pub const LIO_NOWAIT: c_int = 1;
2505 pub const MREMAP_MAYMOVE: c_int = 1;
2506 pub const MREMAP_FIXED: c_int = 2;
2508 pub const PR_SET_PDEATHSIG: c_int = 1;
2509 pub const PR_GET_PDEATHSIG: c_int = 2;
2511 pub const PR_GET_DUMPABLE: c_int = 3;
2512 pub const PR_SET_DUMPABLE: c_int = 4;
2514 pub const PR_GET_UNALIGN: c_int = 5;
2515 pub const PR_SET_UNALIGN: c_int = 6;
2516 pub const PR_UNALIGN_NOPRINT: c_int = 1;
2517 pub const PR_UNALIGN_SIGBUS: c_int = 2;
2519 pub const PR_GET_KEEPCAPS: c_int = 7;
2520 pub const PR_SET_KEEPCAPS: c_int = 8;
2522 pub const PR_GET_FPEMU: c_int = 9;
2523 pub const PR_SET_FPEMU: c_int = 10;
2524 pub const PR_FPEMU_NOPRINT: c_int = 1;
2525 pub const PR_FPEMU_SIGFPE: c_int = 2;
2527 pub const PR_GET_FPEXC: c_int = 11;
2528 pub const PR_SET_FPEXC: c_int = 12;
2529 pub const PR_FP_EXC_SW_ENABLE: c_int = 0x80;
2530 pub const PR_FP_EXC_DIV: c_int = 0x010000;
2531 pub const PR_FP_EXC_OVF: c_int = 0x020000;
2532 pub const PR_FP_EXC_UND: c_int = 0x040000;
2533 pub const PR_FP_EXC_RES: c_int = 0x080000;
2534 pub const PR_FP_EXC_INV: c_int = 0x100000;
2535 pub const PR_FP_EXC_DISABLED: c_int = 0;
2536 pub const PR_FP_EXC_NONRECOV: c_int = 1;
2537 pub const PR_FP_EXC_ASYNC: c_int = 2;
2538 pub const PR_FP_EXC_PRECISE: c_int = 3;
2540 pub const PR_GET_TIMING: c_int = 13;
2541 pub const PR_SET_TIMING: c_int = 14;
2542 pub const PR_TIMING_STATISTICAL: c_int = 0;
2543 pub const PR_TIMING_TIMESTAMP: c_int = 1;
2545 pub const PR_SET_NAME: c_int = 15;
2546 pub const PR_GET_NAME: c_int = 16;
2548 pub const PR_GET_ENDIAN: c_int = 19;
2549 pub const PR_SET_ENDIAN: c_int = 20;
2550 pub const PR_ENDIAN_BIG: c_int = 0;
2551 pub const PR_ENDIAN_LITTLE: c_int = 1;
2552 pub const PR_ENDIAN_PPC_LITTLE: c_int = 2;
2554 pub const PR_GET_SECCOMP: c_int = 21;
2555 pub const PR_SET_SECCOMP: c_int = 22;
2557 pub const PR_CAPBSET_READ: c_int = 23;
2558 pub const PR_CAPBSET_DROP: c_int = 24;
2560 pub const PR_GET_TSC: c_int = 25;
2561 pub const PR_SET_TSC: c_int = 26;
2562 pub const PR_TSC_ENABLE: c_int = 1;
2563 pub const PR_TSC_SIGSEGV: c_int = 2;
2565 pub const PR_GET_SECUREBITS: c_int = 27;
2566 pub const PR_SET_SECUREBITS: c_int = 28;
2568 pub const PR_SET_TIMERSLACK: c_int = 29;
2569 pub const PR_GET_TIMERSLACK: c_int = 30;
2571 pub const PR_TASK_PERF_EVENTS_DISABLE: c_int = 31;
2572 pub const PR_TASK_PERF_EVENTS_ENABLE: c_int = 32;
2574 pub const PR_MCE_KILL: c_int = 33;
2575 pub const PR_MCE_KILL_CLEAR: c_int = 0;
2576 pub const PR_MCE_KILL_SET: c_int = 1;
2578 pub const PR_MCE_KILL_LATE: c_int = 0;
2579 pub const PR_MCE_KILL_EARLY: c_int = 1;
2580 pub const PR_MCE_KILL_DEFAULT: c_int = 2;
2582 pub const PR_MCE_KILL_GET: c_int = 34;
2584 pub const PR_SET_MM: c_int = 35;
2585 pub const PR_SET_MM_START_CODE: c_int = 1;
2586 pub const PR_SET_MM_END_CODE: c_int = 2;
2587 pub const PR_SET_MM_START_DATA: c_int = 3;
2588 pub const PR_SET_MM_END_DATA: c_int = 4;
2589 pub const PR_SET_MM_START_STACK: c_int = 5;
2590 pub const PR_SET_MM_START_BRK: c_int = 6;
2591 pub const PR_SET_MM_BRK: c_int = 7;
2592 pub const PR_SET_MM_ARG_START: c_int = 8;
2593 pub const PR_SET_MM_ARG_END: c_int = 9;
2594 pub const PR_SET_MM_ENV_START: c_int = 10;
2595 pub const PR_SET_MM_ENV_END: c_int = 11;
2596 pub const PR_SET_MM_AUXV: c_int = 12;
2597 pub const PR_SET_MM_EXE_FILE: c_int = 13;
2598 pub const PR_SET_MM_MAP: c_int = 14;
2599 pub const PR_SET_MM_MAP_SIZE: c_int = 15;
2601 pub const PR_SET_PTRACER: c_int = 0x59616d61;
2604 pub const PR_SET_CHILD_SUBREAPER: c_int = 36;
2605 pub const PR_GET_CHILD_SUBREAPER: c_int = 37;
2607 pub const PR_SET_NO_NEW_PRIVS: c_int = 38;
2608 pub const PR_GET_NO_NEW_PRIVS: c_int = 39;
2610 pub const PR_GET_TID_ADDRESS: c_int = 40;
2612 pub const PR_SET_THP_DISABLE: c_int = 41;
2613 pub const PR_GET_THP_DISABLE: c_int = 42;
2615 pub const PR_MPX_ENABLE_MANAGEMENT: c_int = 43;
2616 pub const PR_MPX_DISABLE_MANAGEMENT: c_int = 44;
2618 pub const PR_SET_FP_MODE: c_int = 45;
2619 pub const PR_GET_FP_MODE: c_int = 46;
2620 pub const PR_FP_MODE_FR: c_int = 1 << 0;
2621 pub const PR_FP_MODE_FRE: c_int = 1 << 1;
2623 pub const PR_CAP_AMBIENT: c_int = 47;
2624 pub const PR_CAP_AMBIENT_IS_SET: c_int = 1;
2625 pub const PR_CAP_AMBIENT_RAISE: c_int = 2;
2626 pub const PR_CAP_AMBIENT_LOWER: c_int = 3;
2627 pub const PR_CAP_AMBIENT_CLEAR_ALL: c_int = 4;
2629 pub const ITIMER_REAL: c_int = 0;
2630 pub const ITIMER_VIRTUAL: c_int = 1;
2631 pub const ITIMER_PROF: c_int = 2;
2633 pub const TFD_CLOEXEC: c_int = O_CLOEXEC;
2634 pub const TFD_NONBLOCK: c_int = O_NONBLOCK;
2635 pub const TFD_TIMER_ABSTIME: c_int = 1;
2637 pub const XATTR_CREATE: c_int = 0x1;
2638 pub const XATTR_REPLACE: c_int = 0x2;
2642 pub const FALLOC_FL_KEEP_SIZE: c_int = 0x01;
2643 pub const FALLOC_FL_PUNCH_HOLE: c_int = 0x02;
2644 pub const FALLOC_FL_COLLAPSE_RANGE: c_int = 0x08;
2645 pub const FALLOC_FL_ZERO_RANGE: c_int = 0x10;
2646 pub const FALLOC_FL_INSERT_RANGE: c_int = 0x20;
2647 pub const FALLOC_FL_UNSHARE_RANGE: c_int = 0x40;
2652 pub const ENOATTR: c_int = crate::ENODATA;
2654 pub const SO_ORIGINAL_DST: c_int = 80;
2679 pub const ETH_P_LOOP: c_int = 0x0060;
2680 pub const ETH_P_PUP: c_int = 0x0200;
2681 pub const ETH_P_PUPAT: c_int = 0x0201;
2682 pub const ETH_P_IP: c_int = 0x0800;
2683 pub const ETH_P_X25: c_int = 0x0805;
2684 pub const ETH_P_ARP: c_int = 0x0806;
2685 pub const ETH_P_BPQ: c_int = 0x08FF;
2686 pub const ETH_P_IEEEPUP: c_int = 0x0a00;
2687 pub const ETH_P_IEEEPUPAT: c_int = 0x0a01;
2688 pub const ETH_P_BATMAN: c_int = 0x4305;
2689 pub const ETH_P_DEC: c_int = 0x6000;
2690 pub const ETH_P_DNA_DL: c_int = 0x6001;
2691 pub const ETH_P_DNA_RC: c_int = 0x6002;
2692 pub const ETH_P_DNA_RT: c_int = 0x6003;
2693 pub const ETH_P_LAT: c_int = 0x6004;
2694 pub const ETH_P_DIAG: c_int = 0x6005;
2695 pub const ETH_P_CUST: c_int = 0x6006;
2696 pub const ETH_P_SCA: c_int = 0x6007;
2697 pub const ETH_P_TEB: c_int = 0x6558;
2698 pub const ETH_P_RARP: c_int = 0x8035;
2699 pub const ETH_P_ATALK: c_int = 0x809B;
2700 pub const ETH_P_AARP: c_int = 0x80F3;
2701 pub const ETH_P_8021Q: c_int = 0x8100;
2702 pub const ETH_P_IPX: c_int = 0x8137;
2703 pub const ETH_P_IPV6: c_int = 0x86DD;
2704 pub const ETH_P_PAUSE: c_int = 0x8808;
2705 pub const ETH_P_SLOW: c_int = 0x8809;
2706 pub const ETH_P_WCCP: c_int = 0x883E;
2707 pub const ETH_P_MPLS_UC: c_int = 0x8847;
2708 pub const ETH_P_MPLS_MC: c_int = 0x8848;
2709 pub const ETH_P_ATMMPOA: c_int = 0x884c;
2710 pub const ETH_P_PPP_DISC: c_int = 0x8863;
2711 pub const ETH_P_PPP_SES: c_int = 0x8864;
2712 pub const ETH_P_LINK_CTL: c_int = 0x886c;
2713 pub const ETH_P_ATMFATE: c_int = 0x8884;
2714 pub const ETH_P_PAE: c_int = 0x888E;
2715 pub const ETH_P_AOE: c_int = 0x88A2;
2716 pub const ETH_P_8021AD: c_int = 0x88A8;
2717 pub const ETH_P_802_EX1: c_int = 0x88B5;
2718 pub const ETH_P_TIPC: c_int = 0x88CA;
2719 pub const ETH_P_8021AH: c_int = 0x88E7;
2720 pub const ETH_P_MVRP: c_int = 0x88F5;
2721 pub const ETH_P_1588: c_int = 0x88F7;
2722 pub const ETH_P_PRP: c_int = 0x88FB;
2723 pub const ETH_P_FCOE: c_int = 0x8906;
2724 pub const ETH_P_TDLS: c_int = 0x890D;
2725 pub const ETH_P_FIP: c_int = 0x8914;
2726 pub const ETH_P_80221: c_int = 0x8917;
2727 pub const ETH_P_LOOPBACK: c_int = 0x9000;
2728 pub const ETH_P_QINQ1: c_int = 0x9100;
2729 pub const ETH_P_QINQ2: c_int = 0x9200;
2730 pub const ETH_P_QINQ3: c_int = 0x9300;
2731 pub const ETH_P_EDSA: c_int = 0xDADA;
2732 pub const ETH_P_AF_IUCV: c_int = 0xFBFB;
2734 pub const ETH_P_802_3_MIN: c_int = 0x0600;
2736 pub const ETH_P_802_3: c_int = 0x0001;
2737 pub const ETH_P_AX25: c_int = 0x0002;
2738 pub const ETH_P_ALL: c_int = 0x0003;
2739 pub const ETH_P_802_2: c_int = 0x0004;
2740 pub const ETH_P_SNAP: c_int = 0x0005;
2741 pub const ETH_P_DDCMP: c_int = 0x0006;
2742 pub const ETH_P_WAN_PPP: c_int = 0x0007;
2743 pub const ETH_P_PPP_MP: c_int = 0x0008;
2744 pub const ETH_P_LOCALTALK: c_int = 0x0009;
2745 pub const ETH_P_CAN: c_int = 0x000C;
2746 pub const ETH_P_CANFD: c_int = 0x000D;
2747 pub const ETH_P_PPPTALK: c_int = 0x0010;
2748 pub const ETH_P_TR_802_2: c_int = 0x0011;
2749 pub const ETH_P_MOBITEX: c_int = 0x0015;
2750 pub const ETH_P_CONTROL: c_int = 0x0016;
2751 pub const ETH_P_IRDA: c_int = 0x0017;
2752 pub const ETH_P_ECONET: c_int = 0x0018;
2753 pub const ETH_P_HDLC: c_int = 0x0019;
2754 pub const ETH_P_ARCNET: c_int = 0x001A;
2755 pub const ETH_P_DSA: c_int = 0x001B;
2756 pub const ETH_P_TRAILER: c_int = 0x001C;
2757 pub const ETH_P_PHONET: c_int = 0x00F5;
2758 pub const ETH_P_IEEE802154: c_int = 0x00F6;
2759 pub const ETH_P_CAIF: c_int = 0x00F7;
2761 pub const SFD_CLOEXEC: c_int = 0x080000;
2765 pub const O_TRUNC: c_int = 0x00040000;
2766 pub const O_NOATIME: c_int = 0x00002000;
2767 pub const O_CLOEXEC: c_int = 0x00000100;
2768 pub const O_TMPFILE: c_int = 0x00004000;
2770 pub const EBFONT: c_int = 59;
2771 pub const ENOSTR: c_int = 60;
2772 pub const ENODATA: c_int = 61;
2773 pub const ETIME: c_int = 62;
2774 pub const ENOSR: c_int = 63;
2775 pub const ENONET: c_int = 64;
2776 pub const ENOPKG: c_int = 65;
2777 pub const EREMOTE: c_int = 66;
2778 pub const ENOLINK: c_int = 67;
2779 pub const EADV: c_int = 68;
2780 pub const ESRMNT: c_int = 69;
2781 pub const ECOMM: c_int = 70;
2782 pub const EPROTO: c_int = 71;
2783 pub const EDOTDOT: c_int = 73;
2785 pub const SA_NODEFER: c_int = 0x40000000;
2786 pub const SA_RESETHAND: c_int = 0x80000000;
2787 pub const SA_RESTART: c_int = 0x10000000;
2788 pub const SA_NOCLDSTOP: c_int = 0x00000001;
2790 pub const EPOLL_CLOEXEC: c_int = 0x80000;
2792 pub const EFD_CLOEXEC: c_int = 0x80000;
2797 pub const O_PATH: c_int = 0x00400000;
2798 pub const O_EXEC: c_int = O_PATH;
2799 pub const O_SEARCH: c_int = O_PATH;
2800 pub const O_ACCMODE: c_int = 03 | O_SEARCH;
2801 pub const O_NDELAY: c_int = O_NONBLOCK;
2804 pub const POSIX_FADV_DONTNEED: c_int = 4;
2805 pub const POSIX_FADV_NOREUSE: c_int = 5;
2807 pub const POSIX_MADV_DONTNEED: c_int = 4;
2810 pub const RLIMIT_RTTIME: c_int = 15;
2812 pub const RLIMIT_NLIMITS: c_int = 16;
2815 pub const RLIM_NLIMITS: c_int = RLIMIT_NLIMITS;
2817 pub const MAP_ANONYMOUS: c_int = MAP_ANON;
2819 pub const SOCK_DCCP: c_int = 6;
2820 pub const SOCK_PACKET: c_int = 10;
2822 pub const TCP_COOKIE_TRANSACTIONS: c_int = 15;
2823 pub const TCP_THIN_LINEAR_TIMEOUTS: c_int = 16;
2824 pub const TCP_THIN_DUPACK: c_int = 17;
2825 pub const TCP_USER_TIMEOUT: c_int = 18;
2826 pub const TCP_REPAIR: c_int = 19;
2827 pub const TCP_REPAIR_QUEUE: c_int = 20;
2828 pub const TCP_QUEUE_SEQ: c_int = 21;
2829 pub const TCP_REPAIR_OPTIONS: c_int = 22;
2830 pub const TCP_FASTOPEN: c_int = 23;
2831 pub const TCP_TIMESTAMP: c_int = 24;
2833 pub const SIGUNUSED: c_int = crate::SIGSYS;
2839 pub const CPU_SETSIZE: c_int = 128;
2841 pub const PTRACE_TRACEME: c_int = 0;
2842 pub const PTRACE_PEEKTEXT: c_int = 1;
2843 pub const PTRACE_PEEKDATA: c_int = 2;
2844 pub const PTRACE_PEEKUSER: c_int = 3;
2845 pub const PTRACE_POKETEXT: c_int = 4;
2846 pub const PTRACE_POKEDATA: c_int = 5;
2847 pub const PTRACE_POKEUSER: c_int = 6;
2848 pub const PTRACE_CONT: c_int = 7;
2849 pub const PTRACE_KILL: c_int = 8;
2850 pub const PTRACE_SINGLESTEP: c_int = 9;
2851 pub const PTRACE_GETREGS: c_int = 12;
2852 pub const PTRACE_SETREGS: c_int = 13;
2853 pub const PTRACE_GETFPREGS: c_int = 14;
2854 pub const PTRACE_SETFPREGS: c_int = 15;
2855 pub const PTRACE_ATTACH: c_int = 16;
2856 pub const PTRACE_DETACH: c_int = 17;
2857 pub const PTRACE_GETFPXREGS: c_int = 18;
2858 pub const PTRACE_SETFPXREGS: c_int = 19;
2859 pub const PTRACE_SYSCALL: c_int = 24;
2860 pub const PTRACE_SETOPTIONS: c_int = 0x4200;
2861 pub const PTRACE_GETEVENTMSG: c_int = 0x4201;
2862 pub const PTRACE_GETSIGINFO: c_int = 0x4202;
2863 pub const PTRACE_SETSIGINFO: c_int = 0x4203;
2864 pub const PTRACE_GETREGSET: c_int = 0x4204;
2865 pub const PTRACE_SETREGSET: c_int = 0x4205;
2866 pub const PTRACE_SEIZE: c_int = 0x4206;
2867 pub const PTRACE_INTERRUPT: c_int = 0x4207;
2868 pub const PTRACE_LISTEN: c_int = 0x4208;
2869 pub const PTRACE_PEEKSIGINFO: c_int = 0x4209;
2871 pub const EPOLLWAKEUP: c_int = 0x20000000;
2873 pub const EFD_NONBLOCK: c_int = crate::O_NONBLOCK;
2875 pub const SFD_NONBLOCK: c_int = crate::O_NONBLOCK;
2877 pub const TCSANOW: c_int = 0;
2878 pub const TCSADRAIN: c_int = 1;
2879 pub const TCSAFLUSH: c_int = 2;
2881 pub const TIOCINQ: c_int = crate::FIONREAD;
2883 pub const RTLD_GLOBAL: c_int = 0x100;
2884 pub const RTLD_NOLOAD: c_int = 0x4;
2886 pub const MCL_CURRENT: c_int = 0x0001;
2887 pub const MCL_FUTURE: c_int = 0x0002;
2890 pub const TAB1: c_int = 0x00000800;
2891 pub const TAB2: c_int = 0x00001000;
2892 pub const TAB3: c_int = 0x00001800;
2893 pub const CR1: c_int = 0x00000200;
2894 pub const CR2: c_int = 0x00000400;
2895 pub const CR3: c_int = 0x00000600;
2896 pub const FF1: c_int = 0x00008000;
2897 pub const BS1: c_int = 0x00002000;
2898 pub const VT1: c_int = 0x00004000;
2975 pub const SO_BINDTODEVICE: c_int = 25;
2976 pub const SO_TIMESTAMP: c_int = 29;
2977 pub const SO_MARK: c_int = 36;
2978 pub const SO_RXQ_OVFL: c_int = 40;
2979 pub const SO_PEEK_OFF: c_int = 42;
2980 pub const SO_BUSY_POLL: c_int = 46;
2981 pub const SO_BINDTOIFINDEX: c_int = 62;
2986 pub const O_ASYNC: c_int = 0x00000400;
2988 pub const FIOCLEX: c_int = 0x5451;
2989 pub const FIONBIO: c_int = 0x5421;
2991 pub const RLIMIT_RSS: c_int = 5;
2992 pub const RLIMIT_NOFILE: c_int = 7;
2993 pub const RLIMIT_AS: c_int = 9;
2994 pub const RLIMIT_NPROC: c_int = 6;
2995 pub const RLIMIT_MEMLOCK: c_int = 8;
2997 pub const O_APPEND: c_int = 0x00100000;
2998 pub const O_CREAT: c_int = 0x00010000;
2999 pub const O_EXCL: c_int = 0x00020000;
3000 pub const O_NOCTTY: c_int = 0x00000200;
3001 pub const O_NONBLOCK: c_int = 0x00000010;
3002 pub const O_SYNC: c_int = 0x00000040 | O_DSYNC;
3003 pub const O_RSYNC: c_int = O_SYNC;
3004 pub const O_DSYNC: c_int = 0x00000020;
3006 pub const SOCK_CLOEXEC: c_int = 0o2000000;
3007 pub const SOCK_NONBLOCK: c_int = 0o4000;
3009 pub const MAP_ANON: c_int = 0x0020;
3010 pub const MAP_GROWSDOWN: c_int = 0x0100;
3011 pub const MAP_DENYWRITE: c_int = 0x0800;
3012 pub const MAP_EXECUTABLE: c_int = 0x01000;
3013 pub const MAP_LOCKED: c_int = 0x02000;
3014 pub const MAP_NORESERVE: c_int = 0x04000;
3015 pub const MAP_POPULATE: c_int = 0x08000;
3016 pub const MAP_NONBLOCK: c_int = 0x010000;
3017 pub const MAP_STACK: c_int = 0x020000;
3019 pub const SOCK_STREAM: c_int = 1;
3020 pub const SOCK_DGRAM: c_int = 2;
3021 pub const SOCK_SEQPACKET: c_int = 5;
3023 pub const SOL_SOCKET: c_int = 1;
3025 pub const EDEADLK: c_int = 35;
3026 pub const ENAMETOOLONG: c_int = 36;
3027 pub const ENOLCK: c_int = 37;
3028 pub const ENOSYS: c_int = 38;
3029 pub const ENOTEMPTY: c_int = 39;
3030 pub const ELOOP: c_int = 40;
3031 pub const ENOMSG: c_int = 42;
3032 pub const EIDRM: c_int = 43;
3033 pub const ECHRNG: c_int = 44;
3034 pub const EL2NSYNC: c_int = 45;
3035 pub const EL3HLT: c_int = 46;
3036 pub const EL3RST: c_int = 47;
3037 pub const ELNRNG: c_int = 48;
3038 pub const EUNATCH: c_int = 49;
3039 pub const ENOCSI: c_int = 50;
3040 pub const EL2HLT: c_int = 51;
3041 pub const EBADE: c_int = 52;
3042 pub const EBADR: c_int = 53;
3043 pub const EXFULL: c_int = 54;
3044 pub const ENOANO: c_int = 55;
3045 pub const EBADRQC: c_int = 56;
3046 pub const EBADSLT: c_int = 57;
3047 pub const EDEADLOCK: c_int = EDEADLK;
3048 pub const EMULTIHOP: c_int = 72;
3049 pub const EBADMSG: c_int = 74;
3050 pub const EOVERFLOW: c_int = 75;
3051 pub const ENOTUNIQ: c_int = 76;
3052 pub const EBADFD: c_int = 77;
3053 pub const EREMCHG: c_int = 78;
3054 pub const ELIBACC: c_int = 79;
3055 pub const ELIBBAD: c_int = 80;
3056 pub const ELIBSCN: c_int = 81;
3057 pub const ELIBMAX: c_int = 82;
3058 pub const ELIBEXEC: c_int = 83;
3059 pub const EILSEQ: c_int = 84;
3060 pub const ERESTART: c_int = 85;
3061 pub const ESTRPIPE: c_int = 86;
3062 pub const EUSERS: c_int = 87;
3063 pub const ENOTSOCK: c_int = 88;
3064 pub const EDESTADDRREQ: c_int = 89;
3065 pub const EMSGSIZE: c_int = 90;
3066 pub const EPROTOTYPE: c_int = 91;
3067 pub const ENOPROTOOPT: c_int = 92;
3068 pub const EPROTONOSUPPORT: c_int = 93;
3069 pub const ESOCKTNOSUPPORT: c_int = 94;
3070 pub const EOPNOTSUPP: c_int = 95;
3071 pub const ENOTSUP: c_int = EOPNOTSUPP;
3072 pub const EPFNOSUPPORT: c_int = 96;
3073 pub const EAFNOSUPPORT: c_int = 97;
3074 pub const EADDRINUSE: c_int = 98;
3075 pub const EADDRNOTAVAIL: c_int = 99;
3076 pub const ENETDOWN: c_int = 100;
3077 pub const ENETUNREACH: c_int = 101;
3078 pub const ENETRESET: c_int = 102;
3079 pub const ECONNABORTED: c_int = 103;
3080 pub const ECONNRESET: c_int = 104;
3081 pub const ENOBUFS: c_int = 105;
3082 pub const EISCONN: c_int = 106;
3083 pub const ENOTCONN: c_int = 107;
3084 pub const ESHUTDOWN: c_int = 108;
3085 pub const ETOOMANYREFS: c_int = 109;
3086 pub const ETIMEDOUT: c_int = 110;
3087 pub const ECONNREFUSED: c_int = 111;
3088 pub const EHOSTDOWN: c_int = 112;
3089 pub const EHOSTUNREACH: c_int = 113;
3090 pub const EALREADY: c_int = 114;
3091 pub const EINPROGRESS: c_int = 115;
3092 pub const ESTALE: c_int = 116;
3093 pub const EUCLEAN: c_int = 117;
3094 pub const ENOTNAM: c_int = 118;
3095 pub const ENAVAIL: c_int = 119;
3096 pub const EISNAM: c_int = 120;
3097 pub const EREMOTEIO: c_int = 121;
3098 pub const EDQUOT: c_int = 122;
3099 pub const ENOMEDIUM: c_int = 123;
3100 pub const EMEDIUMTYPE: c_int = 124;
3101 pub const ECANCELED: c_int = 125;
3102 pub const ENOKEY: c_int = 126;
3103 pub const EKEYEXPIRED: c_int = 127;
3104 pub const EKEYREVOKED: c_int = 128;
3105 pub const EKEYREJECTED: c_int = 129;
3106 pub const EOWNERDEAD: c_int = 130;
3107 pub const ENOTRECOVERABLE: c_int = 131;
3108 pub const ERFKILL: c_int = 132;
3109 pub const EHWPOISON: c_int = 133;
3111 pub const SO_REUSEADDR: c_int = 2;
3112 pub const SO_TYPE: c_int = 3;
3113 pub const SO_ERROR: c_int = 4;
3114 pub const SO_DONTROUTE: c_int = 5;
3115 pub const SO_BROADCAST: c_int = 6;
3116 pub const SO_SNDBUF: c_int = 7;
3117 pub const SO_RCVBUF: c_int = 8;
3118 pub const SO_KEEPALIVE: c_int = 9;
3119 pub const SO_OOBINLINE: c_int = 10;
3120 pub const SO_NO_CHECK: c_int = 11;
3121 pub const SO_PRIORITY: c_int = 12;
3122 pub const SO_LINGER: c_int = 13;
3123 pub const SO_BSDCOMPAT: c_int = 14;
3124 pub const SO_REUSEPORT: c_int = 15;
3125 pub const SO_PASSCRED: c_int = 16;
3126 pub const SO_PEERCRED: c_int = 17;
3127 pub const SO_RCVLOWAT: c_int = 18;
3128 pub const SO_SNDLOWAT: c_int = 19;
3129 pub const SO_RCVTIMEO: c_int = 20;
3130 pub const SO_SNDTIMEO: c_int = 21;
3131 pub const SO_ACCEPTCONN: c_int = 30;
3132 pub const SO_SNDBUFFORCE: c_int = 32;
3133 pub const SO_RCVBUFFORCE: c_int = 33;
3134 pub const SO_PROTOCOL: c_int = 38;
3135 pub const SO_DOMAIN: c_int = 39;
3137 pub const SA_ONSTACK: c_int = 0x08000000;
3138 pub const SA_SIGINFO: c_int = 0x00000004;
3139 pub const SA_NOCLDWAIT: c_int = 0x00000002;
3141 pub const SIGCHLD: c_int = 17;
3142 pub const SIGBUS: c_int = 7;
3143 pub const SIGTTIN: c_int = 21;
3144 pub const SIGTTOU: c_int = 22;
3145 pub const SIGXCPU: c_int = 24;
3146 pub const SIGXFSZ: c_int = 25;
3147 pub const SIGVTALRM: c_int = 26;
3148 pub const SIGPROF: c_int = 27;
3149 pub const SIGWINCH: c_int = 28;
3150 pub const SIGUSR1: c_int = 10;
3151 pub const SIGUSR2: c_int = 12;
3152 pub const SIGCONT: c_int = 18;
3153 pub const SIGSTOP: c_int = 19;
3154 pub const SIGTSTP: c_int = 20;
3155 pub const SIGURG: c_int = 23;
3156 pub const SIGIO: c_int = 29;
3157 pub const SIGSYS: c_int = 31;
3158 pub const SIGSTKFLT: c_int = 16;
3159 pub const SIGPOLL: c_int = 29;
3160 pub const SIGPWR: c_int = 30;
3161 pub const SIG_SETMASK: c_int = 2;
3162 pub const SIG_BLOCK: c_int = 0x000000;
3163 pub const SIG_UNBLOCK: c_int = 0x01;
3167 pub const MAP_HUGETLB: c_int = 0x040000;
3169 pub const F_GETLK: c_int = 5;
3170 pub const F_GETOWN: c_int = 9;
3171 pub const F_SETLK: c_int = 6;
3172 pub const F_SETLKW: c_int = 7;
3173 pub const F_SETOWN: c_int = 8;
3183 pub const TCGETS: c_int = 0x5401;
3184 pub const TCSETS: c_int = 0x5402;
3185 pub const TCSETSW: c_int = 0x5403;
3186 pub const TCSETSF: c_int = 0x5404;
3187 pub const TCGETA: c_int = 0x5405;
3188 pub const TCSETA: c_int = 0x5406;
3189 pub const TCSETAW: c_int = 0x5407;
3190 pub const TCSETAF: c_int = 0x5408;
3191 pub const TCSBRK: c_int = 0x5409;
3192 pub const TCXONC: c_int = 0x540A;
3193 pub const TCFLSH: c_int = 0x540B;
3194 pub const TIOCGSOFTCAR: c_int = 0x5419;
3195 pub const TIOCSSOFTCAR: c_int = 0x541A;
3196 pub const TIOCLINUX: c_int = 0x541C;
3197 pub const TIOCGSERIAL: c_int = 0x541E;
3198 pub const TIOCEXCL: c_int = 0x540C;
3199 pub const TIOCNXCL: c_int = 0x540D;
3200 pub const TIOCSCTTY: c_int = 0x540E;
3201 pub const TIOCGPGRP: c_int = 0x540F;
3202 pub const TIOCSPGRP: c_int = 0x5410;
3203 pub const TIOCOUTQ: c_int = 0x5411;
3204 pub const TIOCSTI: c_int = 0x5412;
3205 pub const TIOCGWINSZ: c_int = 0x5413;
3206 pub const TIOCSWINSZ: c_int = 0x5414;
3207 pub const TIOCMGET: c_int = 0x5415;
3208 pub const TIOCMBIS: c_int = 0x5416;
3209 pub const TIOCMBIC: c_int = 0x5417;
3210 pub const TIOCMSET: c_int = 0x5418;
3211 pub const FIONREAD: c_int = 0x541B;
3212 pub const TIOCCONS: c_int = 0x541D;
3217 pub const TIOCM_LE: c_int = 0x001;
3218 pub const TIOCM_DTR: c_int = 0x002;
3219 pub const TIOCM_RTS: c_int = 0x004;
3220 pub const TIOCM_ST: c_int = 0x008;
3221 pub const TIOCM_SR: c_int = 0x010;
3222 pub const TIOCM_CTS: c_int = 0x020;
3223 pub const TIOCM_CAR: c_int = 0x040;
3224 pub const TIOCM_RNG: c_int = 0x080;
3225 pub const TIOCM_DSR: c_int = 0x100;
3226 pub const TIOCM_CD: c_int = TIOCM_CAR;
3227 pub const TIOCM_RI: c_int = TIOCM_RNG;
3229 pub const O_DIRECTORY: c_int = 0x00080000;
3230 pub const O_DIRECT: c_int = 0x00000800;
3231 pub const O_LARGEFILE: c_int = 0x00001000;
3232 pub const O_NOFOLLOW: c_int = 0x00000080;
3251 pub fn FD_CLR(fd: c_int, set: *mut fd_set) -> () {
3258 pub fn FD_ISSET(fd: c_int, set: *const fd_set) -> bool {
3264 pub fn FD_SET(fd: c_int, set: *mut fd_set) -> () {
3343 pub {const} fn WIFSTOPPED(status: c_int) -> bool {
3347 pub {const} fn WSTOPSIG(status: c_int) -> c_int {
3351 pub {const} fn WIFCONTINUED(status: c_int) -> bool {
3355 pub {const} fn WIFSIGNALED(status: c_int) -> bool {
3359 pub {const} fn WTERMSIG(status: c_int) -> c_int {
3363 pub {const} fn WIFEXITED(status: c_int) -> bool {
3367 pub {const} fn WEXITSTATUS(status: c_int) -> c_int {
3371 pub {const} fn WCOREDUMP(status: c_int) -> bool {
3375 pub {const} fn QCMD(cmd: c_int, type_: c_int) -> c_int {
3442 pub fn isalnum(c: c_int) -> c_int; in isalnum() argument
3443 pub fn isalpha(c: c_int) -> c_int; in isalpha() argument
3444 pub fn iscntrl(c: c_int) -> c_int; in iscntrl() argument
3445 pub fn isdigit(c: c_int) -> c_int; in isdigit() argument
3446 pub fn isgraph(c: c_int) -> c_int; in isgraph() argument
3447 pub fn islower(c: c_int) -> c_int; in islower() argument
3448 pub fn isprint(c: c_int) -> c_int; in isprint() argument
3449 pub fn ispunct(c: c_int) -> c_int; in ispunct() argument
3450 pub fn isspace(c: c_int) -> c_int; in isspace() argument
3451 pub fn isupper(c: c_int) -> c_int; in isupper() argument
3452 pub fn isxdigit(c: c_int) -> c_int; in isxdigit() argument
3453 pub fn isblank(c: c_int) -> c_int; in isblank() argument
3454 pub fn tolower(c: c_int) -> c_int; in tolower() argument
3455 pub fn toupper(c: c_int) -> c_int; in toupper() argument
3458 pub fn fflush(file: *mut FILE) -> c_int; in fflush() argument
3459 pub fn fclose(file: *mut FILE) -> c_int; in fclose() argument
3460 pub fn remove(filename: *const c_char) -> c_int; in remove() argument
3461 pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; in rename() argument
3463 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf() argument
3465 pub fn getchar() -> c_int; in getchar()
3466 pub fn putchar(c: c_int) -> c_int; in putchar() argument
3467 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc() argument
3468 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets() argument
3469 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc() argument
3470 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs() argument
3471 pub fn puts(s: *const c_char) -> c_int; in puts() argument
3472 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc() argument
3475 pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; in fseek() argument
3478 pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int; in fgetpos() argument
3479 pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int; in fsetpos() argument
3480 pub fn feof(stream: *mut FILE) -> c_int; in feof() argument
3481 pub fn ferror(stream: *mut FILE) -> c_int; in ferror() argument
3484 pub fn atoi(s: *const c_char) -> c_int; in atoi() argument
3489 pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long; in strtol()
3490 pub fn strtoll(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_longlong; in strtoll()
3491 pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong; in strtoul()
3492 pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; in strtoull()
3498 pub fn exit(status: c_int) -> !; in exit() argument
3499 pub fn _exit(status: c_int) -> !; in _exit() argument
3500 pub fn atexit(cb: extern "C" fn()) -> c_int; in atexit() argument
3501 pub fn system(s: *const c_char) -> c_int; in system() argument
3508 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; in strcmp() argument
3509 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp() argument
3510 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll() argument
3511 pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; in strchr()
3512 pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; in strrchr()
3520 pub fn strerror(n: c_int) -> *mut c_char; in strerror()
3526 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr() argument
3528 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp() argument
3531 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset() argument
3533 pub fn abs(i: c_int) -> c_int; in abs() argument
3535 pub fn rand() -> c_int; in rand()
3541 pub fn fprintf(stream: *mut crate::FILE, format: *const c_char, ...) -> c_int; in fprintf() argument
3542 pub fn printf(format: *const c_char, ...) -> c_int; in printf() argument
3543 pub fn snprintf(s: *mut c_char, n: size_t, format: *const c_char, ...) -> c_int; in snprintf() argument
3544 pub fn sprintf(s: *mut c_char, format: *const c_char, ...) -> c_int; in sprintf() argument
3545 pub fn fscanf(stream: *mut crate::FILE, format: *const c_char, ...) -> c_int; in fscanf() argument
3546 pub fn scanf(format: *const c_char, ...) -> c_int; in scanf() argument
3547 pub fn sscanf(s: *const c_char, format: *const c_char, ...) -> c_int; in sscanf() argument
3548 pub fn getchar_unlocked() -> c_int; in getchar_unlocked()
3549 pub fn putchar_unlocked(c: c_int) -> c_int; in putchar_unlocked() argument
3551 pub fn socket(domain: c_int, ty: c_int, protocol: c_int) -> c_int; in socket() argument
3552 pub fn connect(socket: c_int, address: *const sockaddr, len: socklen_t) -> c_int; in connect() argument
3553 pub fn listen(socket: c_int, backlog: c_int) -> c_int; in listen() argument
3554 pub fn accept(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> c_int; in accept() argument
3555 pub fn getpeername(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) in getpeername() argument
3556 -> c_int; in getpeername()
3557 pub fn getsockname(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) in getsockname() argument
3558 -> c_int; in getsockname()
3560 socket: c_int, in setsockopt() argument
3561 level: c_int, in setsockopt() argument
3562 name: c_int, in setsockopt() argument
3565 ) -> c_int; in setsockopt() argument
3567 domain: c_int, in socketpair() argument
3568 type_: c_int, in socketpair() argument
3569 protocol: c_int, in socketpair() argument
3570 socket_vector: *mut c_int, in socketpair() argument
3571 ) -> c_int; in socketpair() argument
3573 socket: c_int, in sendto() argument
3576 flags: c_int, in sendto() argument
3580 pub fn shutdown(socket: c_int, how: c_int) -> c_int; in shutdown() argument
3582 pub fn chmod(path: *const c_char, mode: mode_t) -> c_int; in chmod() argument
3583 pub fn fchmod(fd: c_int, mode: mode_t) -> c_int; in fchmod() argument
3585 pub fn fstat(fildes: c_int, buf: *mut stat) -> c_int; in fstat() argument
3587 pub fn mkdir(path: *const c_char, mode: mode_t) -> c_int; in mkdir() argument
3589 pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; in stat() argument
3591 pub fn pclose(stream: *mut crate::FILE) -> c_int; in pclose() argument
3592 pub fn fdopen(fd: c_int, mode: *const c_char) -> *mut crate::FILE; in fdopen() argument
3593 pub fn fileno(stream: *mut crate::FILE) -> c_int; in fileno() argument
3595 pub fn open(path: *const c_char, oflag: c_int, ...) -> c_int; in open() argument
3596 pub fn creat(path: *const c_char, mode: mode_t) -> c_int; in creat() argument
3597 pub fn fcntl(fd: c_int, cmd: c_int, ...) -> c_int; in fcntl() argument
3605 ) -> c_int; in readdir_r() argument
3606 pub fn closedir(dirp: *mut crate::DIR) -> c_int; in closedir() argument
3609 pub fn openat(dirfd: c_int, pathname: *const c_char, flags: c_int, ...) -> c_int; in openat() argument
3610 pub fn fchmodat(dirfd: c_int, pathname: *const c_char, mode: mode_t, flags: c_int) -> c_int; in fchmodat() argument
3611 pub fn fchown(fd: c_int, owner: crate::uid_t, group: crate::gid_t) -> c_int; in fchown() argument
3613 dirfd: c_int, in fchownat() argument
3617 flags: c_int, in fchownat() argument
3618 ) -> c_int; in fchownat() argument
3619 pub fn fstatat(dirfd: c_int, pathname: *const c_char, buf: *mut stat, flags: c_int) -> c_int; in fstatat() argument
3621 olddirfd: c_int, in linkat() argument
3623 newdirfd: c_int, in linkat() argument
3625 flags: c_int, in linkat() argument
3626 ) -> c_int; in linkat() argument
3627 pub fn mkdirat(dirfd: c_int, pathname: *const c_char, mode: mode_t) -> c_int; in mkdirat() argument
3629 dirfd: c_int, in readlinkat() argument
3635 olddirfd: c_int, in renameat() argument
3637 newdirfd: c_int, in renameat() argument
3639 ) -> c_int; in renameat() argument
3640 pub fn symlinkat(target: *const c_char, newdirfd: c_int, linkpath: *const c_char) -> c_int; in symlinkat() argument
3641 pub fn unlinkat(dirfd: c_int, pathname: *const c_char, flags: c_int) -> c_int; in unlinkat() argument
3643 pub fn access(path: *const c_char, amode: c_int) -> c_int; in access() argument
3645 pub fn chdir(dir: *const c_char) -> c_int; in chdir() argument
3646 pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> c_int; in chown() argument
3647 pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> c_int; in lchown() argument
3648 pub fn close(fd: c_int) -> c_int; in close() argument
3649 pub fn dup(fd: c_int) -> c_int; in dup() argument
3650 pub fn dup2(src: c_int, dst: c_int) -> c_int; in dup2() argument
3652 pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> c_int; in execl() argument
3653 pub fn execle(path: *const c_char, arg0: *const c_char, ...) -> c_int; in execle() argument
3654 pub fn execlp(file: *const c_char, arg0: *const c_char, ...) -> c_int; in execlp() argument
3657 pub fn execv(prog: *const c_char, argv: *const *const c_char) -> c_int; in execv() argument
3662 ) -> c_int; in execve() argument
3663 pub fn execvp(c: *const c_char, argv: *const *const c_char) -> c_int; in execvp() argument
3666 pub fn fpathconf(filedes: c_int, name: c_int) -> c_long; in fpathconf() argument
3671 pub fn getgroups(ngroups_max: c_int, groups: *mut gid_t) -> c_int; in getgroups() argument
3673 pub fn getopt(argc: c_int, argv: *const *mut c_char, optstr: *const c_char) -> c_int; in getopt() argument
3679 pub fn isatty(fd: c_int) -> c_int; in isatty() argument
3680 pub fn link(src: *const c_char, dst: *const c_char) -> c_int; in link() argument
3681 pub fn lseek(fd: c_int, offset: off_t, whence: c_int) -> off_t; in lseek() argument
3682 pub fn pathconf(path: *const c_char, name: c_int) -> c_long; in pathconf()
3683 pub fn pause() -> c_int; in pause()
3684 pub fn pipe(fds: *mut c_int) -> c_int; in pipe() argument
3685 pub fn posix_memalign(memptr: *mut *mut c_void, align: size_t, size: size_t) -> c_int; in posix_memalign() argument
3686 pub fn read(fd: c_int, buf: *mut c_void, count: size_t) -> ssize_t; in read() argument
3687 pub fn rmdir(path: *const c_char) -> c_int; in rmdir() argument
3688 pub fn seteuid(uid: uid_t) -> c_int; in seteuid() argument
3689 pub fn setegid(gid: gid_t) -> c_int; in setegid() argument
3690 pub fn setgid(gid: gid_t) -> c_int; in setgid() argument
3691 pub fn setpgid(pid: pid_t, pgid: pid_t) -> c_int; in setpgid() argument
3693 pub fn setuid(uid: uid_t) -> c_int; in setuid() argument
3695 pub fn nanosleep(rqtp: *const timespec, rmtp: *mut timespec) -> c_int; in nanosleep() argument
3696 pub fn tcgetpgrp(fd: c_int) -> pid_t; in tcgetpgrp()
3697 pub fn tcsetpgrp(fd: c_int, pgrp: crate::pid_t) -> c_int; in tcsetpgrp() argument
3698 pub fn ttyname(fd: c_int) -> *mut c_char; in ttyname()
3699 pub fn unlink(c: *const c_char) -> c_int; in unlink() argument
3700 pub fn wait(status: *mut c_int) -> pid_t; in wait()
3701 pub fn waitpid(pid: pid_t, status: *mut c_int, options: c_int) -> pid_t; in waitpid() argument
3702 pub fn write(fd: c_int, buf: *const c_void, count: size_t) -> ssize_t; in write() argument
3703 pub fn pread(fd: c_int, buf: *mut c_void, count: size_t, offset: off_t) -> ssize_t; in pread() argument
3704 pub fn pwrite(fd: c_int, buf: *const c_void, count: size_t, offset: off_t) -> ssize_t; in pwrite() argument
3707 pub fn utime(file: *const c_char, buf: *const utimbuf) -> c_int; in utime() argument
3709 pub fn kill(pid: pid_t, sig: c_int) -> c_int; in kill() argument
3711 pub fn mlock(addr: *const c_void, len: size_t) -> c_int; in mlock() argument
3712 pub fn munlock(addr: *const c_void, len: size_t) -> c_int; in munlock() argument
3713 pub fn mlockall(flags: c_int) -> c_int; in mlockall() argument
3714 pub fn munlockall() -> c_int; in munlockall()
3719 prot: c_int, in mmap() argument
3720 flags: c_int, in mmap() argument
3721 fd: c_int, in mmap() argument
3724 pub fn munmap(addr: *mut c_void, len: size_t) -> c_int; in munmap() argument
3729 pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int; in lstat() argument
3731 pub fn fsync(fd: c_int) -> c_int; in fsync() argument
3733 pub fn setenv(name: *const c_char, val: *const c_char, overwrite: c_int) -> c_int; in setenv() argument
3734 pub fn unsetenv(name: *const c_char) -> c_int; in unsetenv() argument
3736 pub fn symlink(path1: *const c_char, path2: *const c_char) -> c_int; in symlink() argument
3738 pub fn ftruncate(fd: c_int, length: off_t) -> c_int; in ftruncate() argument
3740 pub fn signal(signum: c_int, handler: sighandler_t) -> sighandler_t; in signal() argument
3744 pub fn flock(fd: c_int, operation: c_int) -> c_int; in flock() argument
3746 pub fn gettimeofday(tp: *mut crate::timeval, tz: *mut c_void) -> c_int; in gettimeofday() argument
3750 pub fn pthread_join(native: crate::pthread_t, value: *mut *mut c_void) -> c_int; in pthread_join() argument
3752 pub fn pthread_attr_init(attr: *mut crate::pthread_attr_t) -> c_int; in pthread_attr_init() argument
3753 pub fn pthread_attr_destroy(attr: *mut crate::pthread_attr_t) -> c_int; in pthread_attr_destroy() argument
3757 ) -> c_int; in pthread_attr_getstacksize() argument
3759 -> c_int; in pthread_attr_setstacksize()
3760 pub fn pthread_attr_setdetachstate(attr: *mut crate::pthread_attr_t, state: c_int) -> c_int; in pthread_attr_setdetachstate() argument
3761 pub fn pthread_detach(thread: crate::pthread_t) -> c_int; in pthread_detach() argument
3762 pub fn sched_yield() -> c_int; in sched_yield()
3766 ) -> c_int; in pthread_key_create() argument
3767 pub fn pthread_key_delete(key: pthread_key_t) -> c_int; in pthread_key_delete() argument
3769 pub fn pthread_setspecific(key: pthread_key_t, value: *const c_void) -> c_int; in pthread_setspecific() argument
3773 ) -> c_int; in pthread_mutex_init() argument
3774 pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> c_int; in pthread_mutex_destroy() argument
3775 pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> c_int; in pthread_mutex_lock() argument
3776 pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> c_int; in pthread_mutex_trylock() argument
3777 pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> c_int; in pthread_mutex_unlock() argument
3779 pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> c_int; in pthread_mutexattr_init() argument
3780 pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> c_int; in pthread_mutexattr_destroy() argument
3781 pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, _type: c_int) -> c_int; in pthread_mutexattr_settype() argument
3783 pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) -> c_int; in pthread_cond_init() argument
3784 pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> c_int; in pthread_cond_wait() argument
3789 ) -> c_int; in pthread_cond_timedwait() argument
3790 pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> c_int; in pthread_cond_signal() argument
3791 pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> c_int; in pthread_cond_broadcast() argument
3792 pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> c_int; in pthread_cond_destroy() argument
3793 pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> c_int; in pthread_condattr_init() argument
3794 pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> c_int; in pthread_condattr_destroy() argument
3798 ) -> c_int; in pthread_rwlock_init() argument
3799 pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> c_int; in pthread_rwlock_destroy() argument
3800 pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> c_int; in pthread_rwlock_rdlock() argument
3801 pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> c_int; in pthread_rwlock_tryrdlock() argument
3802 pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> c_int; in pthread_rwlock_wrlock() argument
3803 pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> c_int; in pthread_rwlock_trywrlock() argument
3804 pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> c_int; in pthread_rwlock_unlock() argument
3805 pub fn pthread_rwlockattr_init(attr: *mut pthread_rwlockattr_t) -> c_int; in pthread_rwlockattr_init() argument
3806 pub fn pthread_rwlockattr_destroy(attr: *mut pthread_rwlockattr_t) -> c_int; in pthread_rwlockattr_destroy() argument
3807 pub fn pthread_getname_np(thread: crate::pthread_t, name: *mut c_char, len: size_t) -> c_int; in pthread_getname_np() argument
3808 pub fn pthread_setname_np(thread: crate::pthread_t, name: *const c_char) -> c_int; in pthread_setname_np() argument
3809 pub fn strerror_r(errnum: c_int, buf: *mut c_char, buflen: size_t) -> c_int; in strerror_r() argument
3812 sockfd: c_int, in getsockopt() argument
3813 level: c_int, in getsockopt() argument
3814 optname: c_int, in getsockopt() argument
3817 ) -> c_int; in getsockopt() argument
3818 pub fn raise(signum: c_int) -> c_int; in raise() argument
3819 pub fn sigaction(signum: c_int, act: *const sigaction, oldact: *mut sigaction) -> c_int; in sigaction() argument
3821 pub fn utimes(filename: *const c_char, times: *const crate::timeval) -> c_int; in utimes() argument
3822 pub fn dlopen(filename: *const c_char, flag: c_int) -> *mut c_void; in dlopen()
3825 pub fn dlclose(handle: *mut c_void) -> c_int; in dlclose() argument
3826 pub fn dladdr(addr: *const c_void, info: *mut Dl_info) -> c_int; in dladdr() argument
3833 ) -> c_int; in getaddrinfo() argument
3835 pub fn gai_strerror(errcode: c_int) -> *const c_char; in gai_strerror()
3836 pub fn res_init() -> c_int; in res_init()
3845 pub fn mknod(pathname: *const c_char, mode: mode_t, dev: crate::dev_t) -> c_int; in mknod() argument
3846 pub fn uname(buf: *mut crate::utsname) -> c_int; in uname() argument
3847 pub fn gethostname(name: *mut c_char, len: size_t) -> c_int; in gethostname() argument
3850 pub fn getprotobynumber(proto: c_int) -> *mut protoent; in getprotobynumber()
3851 pub fn usleep(secs: c_uint) -> c_int; in usleep() argument
3852 pub fn send(socket: c_int, buf: *const c_void, len: size_t, flags: c_int) -> ssize_t; in send() argument
3853 pub fn recv(socket: c_int, buf: *mut c_void, len: size_t, flags: c_int) -> ssize_t; in recv() argument
3854 pub fn putenv(string: *mut c_char) -> c_int; in putenv() argument
3855 pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: c_int) -> c_int; in poll() argument
3857 nfds: c_int, in select() argument
3862 ) -> c_int; in select() argument
3863 pub fn setlocale(category: c_int, locale: *const c_char) -> *mut c_char; in setlocale() argument
3866 pub fn sem_destroy(sem: *mut sem_t) -> c_int; in sem_destroy() argument
3867 pub fn sem_wait(sem: *mut sem_t) -> c_int; in sem_wait() argument
3868 pub fn sem_trywait(sem: *mut sem_t) -> c_int; in sem_trywait() argument
3869 pub fn sem_post(sem: *mut sem_t) -> c_int; in sem_post() argument
3870 pub fn sem_init(sem: *mut sem_t, pshared: c_int, value: c_uint) -> c_int; in sem_init() argument
3871 pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> c_int; in statvfs() argument
3872 pub fn fstatvfs(fd: c_int, buf: *mut statvfs) -> c_int; in fstatvfs() argument
3876 pub fn sigemptyset(set: *mut sigset_t) -> c_int; in sigemptyset() argument
3877 pub fn sigaddset(set: *mut sigset_t, signum: c_int) -> c_int; in sigaddset() argument
3878 pub fn sigfillset(set: *mut sigset_t) -> c_int; in sigfillset() argument
3879 pub fn sigdelset(set: *mut sigset_t, signum: c_int) -> c_int; in sigdelset() argument
3880 pub fn sigismember(set: *const sigset_t, signum: c_int) -> c_int; in sigismember() argument
3882 pub fn sigprocmask(how: c_int, set: *const sigset_t, oldset: *mut sigset_t) -> c_int; in sigprocmask() argument
3883 pub fn sigpending(set: *mut sigset_t) -> c_int; in sigpending() argument
3889 pub fn sysconf(name: c_int) -> c_long; in sysconf()
3891 pub fn mkfifo(path: *const c_char, mode: mode_t) -> c_int; in mkfifo() argument
3894 nfds: c_int, in pselect() argument
3900 ) -> c_int; in pselect() argument
3901 pub fn fseeko(stream: *mut crate::FILE, offset: off_t, whence: c_int) -> c_int; in fseeko() argument
3903 pub fn tcdrain(fd: c_int) -> c_int; in tcdrain() argument
3907 pub fn cfsetispeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; in cfsetispeed() argument
3908 pub fn cfsetospeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; in cfsetospeed() argument
3909 pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; in cfsetspeed() argument
3910 pub fn tcgetattr(fd: c_int, termios: *mut crate::termios) -> c_int; in tcgetattr() argument
3911 pub fn tcsetattr(fd: c_int, optional_actions: c_int, termios: *const crate::termios) -> c_int; in tcsetattr() argument
3912 pub fn tcflow(fd: c_int, action: c_int) -> c_int; in tcflow() argument
3913 pub fn tcflush(fd: c_int, action: c_int) -> c_int; in tcflush() argument
3914 pub fn tcgetsid(fd: c_int) -> crate::pid_t; in tcgetsid()
3915 pub fn tcsendbreak(fd: c_int, duration: c_int) -> c_int; in tcsendbreak() argument
3916 pub fn mkstemp(template: *mut c_char) -> c_int; in mkstemp() argument
3921 pub fn openlog(ident: *const c_char, logopt: c_int, facility: c_int); in openlog() argument
3923 pub fn setlogmask(maskpri: c_int) -> c_int; in setlogmask() argument
3924 pub fn syslog(priority: c_int, message: *const c_char, ...); in syslog() argument
3926 pub fn grantpt(fd: c_int) -> c_int; in grantpt() argument
3927 pub fn posix_openpt(flags: c_int) -> c_int; in posix_openpt() argument
3928 pub fn ptsname(fd: c_int) -> *mut c_char; in ptsname()
3929 pub fn unlockpt(fd: c_int) -> c_int; in unlockpt() argument
3931 pub fn fdatasync(fd: c_int) -> c_int; in fdatasync() argument
3932 pub fn clock_getres(clk_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int; in clock_getres() argument
3933 pub fn clock_gettime(clk_id: crate::clockid_t, tp: *mut crate::timespec) -> c_int; in clock_gettime() argument
3934 pub fn clock_settime(clk_id: crate::clockid_t, tp: *const crate::timespec) -> c_int; in clock_settime() argument
3935 pub fn dirfd(dirp: *mut crate::DIR) -> c_int; in dirfd() argument
3937 pub fn pthread_getattr_np(native: crate::pthread_t, attr: *mut crate::pthread_attr_t) -> c_int; in pthread_getattr_np() argument
3942 ) -> c_int; in pthread_attr_getstack() argument
3944 pub fn setgroups(ngroups: size_t, ptr: *const crate::gid_t) -> c_int; in setgroups() argument
3945 pub fn pipe2(fds: *mut c_int, flags: c_int) -> c_int; in pipe2() argument
3946 pub fn statfs(path: *const c_char, buf: *mut statfs) -> c_int; in statfs() argument
3947 pub fn fstatfs(fd: c_int, buf: *mut statfs) -> c_int; in fstatfs() argument
3948 pub fn memrchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memrchr() argument
3950 pub fn posix_fadvise(fd: c_int, offset: off_t, len: off_t, advise: c_int) -> c_int; in posix_fadvise() argument
3951 pub fn futimens(fd: c_int, times: *const crate::timespec) -> c_int; in futimens() argument
3953 dirfd: c_int, in utimensat() argument
3956 flag: c_int, in utimensat() argument
3957 ) -> c_int; in utimensat() argument
3960 pub fn newlocale(mask: c_int, locale: *const c_char, base: crate::locale_t) -> crate::locale_t; in newlocale() argument
3963 pub fn fdopendir(fd: c_int) -> *mut crate::DIR; in fdopendir()
3965 pub fn mknodat(dirfd: c_int, pathname: *const c_char, mode: mode_t, dev: dev_t) -> c_int; in mknodat() argument
3969 ) -> c_int; in pthread_condattr_getclock() argument
3973 ) -> c_int; in pthread_condattr_setclock() argument
3975 fd: c_int, in accept4() argument
3978 flg: c_int, in accept4() argument
3979 ) -> c_int; in accept4() argument
3980 pub fn ptsname_r(fd: c_int, buf: *mut c_char, buflen: size_t) -> c_int; in ptsname_r() argument
3981 pub fn clearenv() -> c_int; in clearenv()
3986 options: c_int, in waitid() argument
3987 ) -> c_int; in waitid() argument
3988 pub fn setreuid(ruid: crate::uid_t, euid: crate::uid_t) -> c_int; in setreuid() argument
3989 pub fn setregid(rgid: crate::gid_t, egid: crate::gid_t) -> c_int; in setregid() argument
3994 ) -> c_int; in getresuid() argument
3999 ) -> c_int; in getresgid() argument
4000 pub fn acct(filename: *const c_char) -> c_int; in acct() argument
4001 pub fn brk(addr: *mut c_void) -> c_int; in brk() argument
4002 pub fn setresgid(rgid: crate::gid_t, egid: crate::gid_t, sgid: crate::gid_t) -> c_int; in setresgid() argument
4003 pub fn setresuid(ruid: crate::uid_t, euid: crate::uid_t, suid: crate::uid_t) -> c_int; in setresuid() argument
4005 amaster: *mut c_int, in openpty() argument
4006 aslave: *mut c_int, in openpty() argument
4010 ) -> c_int; in openpty() argument
4017 ) -> c_int; in execvpe() argument
4018 pub fn fexecve(fd: c_int, argv: *const *const c_char, envp: *const *const c_char) -> c_int; in fexecve() argument
4020 pub fn ioctl(fd: c_int, request: c_int, ...) -> c_int; in ioctl() argument
4022 pub fn lutimes(file: *const c_char, times: *const crate::timeval) -> c_int; in lutimes() argument
4028 pub fn shm_open(name: *const c_char, oflag: c_int, mode: mode_t) -> c_int; in shm_open() argument
4031 pub fn shmget(key: crate::key_t, size: size_t, shmflg: c_int) -> c_int; in shmget() argument
4032 pub fn shmat(shmid: c_int, shmaddr: *const c_void, shmflg: c_int) -> *mut c_void; in shmat() argument
4033 pub fn shmdt(shmaddr: *const c_void) -> c_int; in shmdt() argument
4034 pub fn shmctl(shmid: c_int, cmd: c_int, buf: *mut crate::shmid_ds) -> c_int; in shmctl() argument
4035 pub fn ftok(pathname: *const c_char, proj_id: c_int) -> crate::key_t; in ftok()
4036 pub fn semget(key: crate::key_t, nsems: c_int, semflag: c_int) -> c_int; in semget() argument
4037 pub fn semop(semid: c_int, sops: *mut crate::sembuf, nsops: size_t) -> c_int; in semop() argument
4038 pub fn semctl(semid: c_int, semnum: c_int, cmd: c_int, ...) -> c_int; in semctl() argument
4039 pub fn msgctl(msqid: c_int, cmd: c_int, buf: *mut msqid_ds) -> c_int; in msgctl() argument
4040 pub fn msgget(key: crate::key_t, msgflg: c_int) -> c_int; in msgget() argument
4042 msqid: c_int, in msgrcv() argument
4046 msgflg: c_int, in msgrcv() argument
4048 pub fn msgsnd(msqid: c_int, msgp: *const c_void, msgsz: size_t, msgflg: c_int) -> c_int; in msgsnd() argument
4050 pub fn mprotect(addr: *mut c_void, len: size_t, prot: c_int) -> c_int; in mprotect() argument
4051 pub fn __errno_location() -> *mut c_int; in __errno_location()
4053 pub fn fallocate(fd: c_int, mode: c_int, offset: off_t, len: off_t) -> c_int; in fallocate() argument
4054 pub fn posix_fallocate(fd: c_int, offset: off_t, len: off_t) -> c_int; in posix_fallocate() argument
4055 pub fn readahead(fd: c_int, offset: off64_t, count: size_t) -> ssize_t; in readahead() argument
4056 pub fn signalfd(fd: c_int, mask: *const crate::sigset_t, flags: c_int) -> c_int; in signalfd() argument
4057 pub fn timerfd_create(clockid: c_int, flags: c_int) -> c_int; in timerfd_create() argument
4058 pub fn timerfd_gettime(fd: c_int, curr_value: *mut itimerspec) -> c_int; in timerfd_gettime() argument
4060 fd: c_int, in timerfd_settime() argument
4061 flags: c_int, in timerfd_settime() argument
4064 ) -> c_int; in timerfd_settime() argument
4065 pub fn pwritev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int, offset: off_t) -> ssize_t; in pwritev() argument
4066 pub fn preadv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int, offset: off_t) -> ssize_t; in preadv() argument
4067 pub fn quotactl(cmd: c_int, special: *const c_char, id: c_int, data: *mut c_char) -> c_int; in quotactl() argument
4068 pub fn dup3(oldfd: c_int, newfd: c_int, flags: c_int) -> c_int; in dup3() argument
4069 pub fn mkostemp(template: *mut c_char, flags: c_int) -> c_int; in mkostemp() argument
4070 pub fn mkostemps(template: *mut c_char, suffixlen: c_int, flags: c_int) -> c_int; in mkostemps() argument
4075 ) -> c_int; in sigtimedwait() argument
4076 pub fn sigwaitinfo(set: *const sigset_t, info: *mut siginfo_t) -> c_int; in sigwaitinfo() argument
4085 flags: c_int, in getnameinfo() argument
4086 ) -> c_int; in getnameinfo() argument
4087 pub fn reboot(how_to: c_int) -> c_int; in reboot() argument
4088 pub fn setfsgid(gid: crate::gid_t) -> c_int; in setfsgid() argument
4089 pub fn setfsuid(uid: crate::uid_t) -> c_int; in setfsuid() argument
4092 pub fn mkfifoat(dirfd: c_int, pathname: *const c_char, mode: mode_t) -> c_int; in mkfifoat() argument
4095 pub fn sync_file_range(fd: c_int, offset: off64_t, nbytes: off64_t, flags: c_uint) -> c_int; in sync_file_range() argument
4096 pub fn getifaddrs(ifap: *mut *mut crate::ifaddrs) -> c_int; in getifaddrs() argument
4101 flags: c_int, in glob() argument
4102 errfunc: Option<extern "C" fn(epath: *const c_char, errno: c_int) -> c_int>, in glob() argument
4104 ) -> c_int; in glob()
4107 pub fn posix_madvise(addr: *mut c_void, len: size_t, advice: c_int) -> c_int; in posix_madvise() argument
4109 pub fn shm_unlink(name: *const c_char) -> c_int; in shm_unlink() argument
4114 pub fn madvise(addr: *mut c_void, len: size_t, advice: c_int) -> c_int; in madvise() argument
4116 pub fn msync(addr: *mut c_void, len: size_t, flags: c_int) -> c_int; in msync() argument
4119 socket: c_int, in recvfrom() argument
4122 flags: c_int, in recvfrom() argument
4126 pub fn mkstemps(template: *mut c_char, suffixlen: c_int) -> c_int; in mkstemps() argument
4127 pub fn futimes(fd: c_int, times: *const crate::timeval) -> c_int; in futimes() argument
4131 socket: c_int, in bind() argument
4134 ) -> c_int; in bind() argument
4136 pub fn writev(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in writev() argument
4137 pub fn readv(fd: c_int, iov: *const crate::iovec, iovcnt: c_int) -> ssize_t; in readv() argument
4139 pub fn sendmsg(fd: c_int, msg: *const crate::msghdr, flags: c_int) -> ssize_t; in sendmsg() argument
4140 pub fn recvmsg(fd: c_int, msg: *mut crate::msghdr, flags: c_int) -> ssize_t; in recvmsg() argument
4141 pub fn getdomainname(name: *mut c_char, len: size_t) -> c_int; in getdomainname() argument
4142 pub fn setdomainname(name: *const c_char, len: size_t) -> c_int; in setdomainname() argument
4143 pub fn vhangup() -> c_int; in vhangup()
4144 pub fn sendmmsg(sockfd: c_int, msgvec: *mut mmsghdr, vlen: c_uint, flags: c_int) -> c_int; in sendmmsg() argument
4146 sockfd: c_int, in recvmmsg() argument
4149 flags: c_int, in recvmmsg() argument
4151 ) -> c_int; in recvmmsg() argument
4158 ) -> c_int; in sched_getaffinity() argument
4163 ) -> c_int; in sched_setaffinity() argument
4164 pub fn umount(target: *const c_char) -> c_int; in umount() argument
4165 pub fn sched_get_priority_max(policy: c_int) -> c_int; in sched_get_priority_max() argument
4166 pub fn tee(fd_in: c_int, fd_out: c_int, len: size_t, flags: c_uint) -> ssize_t; in tee() argument
4167 pub fn settimeofday(tv: *const crate::timeval, tz: *const crate::timezone) -> c_int; in settimeofday() argument
4169 fd_in: c_int, in splice() argument
4171 fd_out: c_int, in splice() argument
4176 pub fn eventfd(init: c_uint, flags: c_int) -> c_int; in eventfd() argument
4177 pub fn sched_rr_get_interval(pid: crate::pid_t, tp: *mut crate::timespec) -> c_int; in sched_rr_get_interval() argument
4178 pub fn sem_timedwait(sem: *mut sem_t, abstime: *const crate::timespec) -> c_int; in sem_timedwait() argument
4179 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut c_int) -> c_int; in sem_getvalue() argument
4180 pub fn sched_setparam(pid: crate::pid_t, param: *const crate::sched_param) -> c_int; in sched_setparam() argument
4181 pub fn swapoff(puath: *const c_char) -> c_int; in swapoff() argument
4182 pub fn vmsplice(fd: c_int, iov: *const crate::iovec, nr_segs: size_t, flags: c_uint) in vmsplice() argument
4190 ) -> c_int; in mount() argument
4191 pub fn personality(persona: c_ulong) -> c_int; in personality() argument
4192 pub fn sched_getparam(pid: crate::pid_t, param: *mut crate::sched_param) -> c_int; in sched_getparam() argument
4198 ) -> c_int; in ppoll() argument
4202 ) -> c_int; in pthread_mutex_timedlock() argument
4204 cb: extern "C" fn(*mut c_void) -> c_int, in clone() argument
4206 flags: c_int, in clone() argument
4209 ) -> c_int; in clone() argument
4210 pub fn sched_getscheduler(pid: crate::pid_t) -> c_int; in sched_getscheduler() argument
4213 flags: c_int, in clock_nanosleep() argument
4216 ) -> c_int; in clock_nanosleep() argument
4220 ) -> c_int; in pthread_attr_getguardsize() argument
4221 pub fn pthread_attr_setguardsize(attr: *mut crate::pthread_attr_t, guardsize: size_t) -> c_int; in pthread_attr_setguardsize() argument
4222 pub fn sethostname(name: *const c_char, len: size_t) -> c_int; in sethostname() argument
4223 pub fn sched_get_priority_min(policy: c_int) -> c_int; in sched_get_priority_min() argument
4224 pub fn umount2(target: *const c_char, flags: c_int) -> c_int; in umount2() argument
4225 pub fn swapon(path: *const c_char, swapflags: c_int) -> c_int; in swapon() argument
4228 policy: c_int, in sched_setscheduler() argument
4230 ) -> c_int; in sched_setscheduler() argument
4231 pub fn sigsuspend(mask: *const crate::sigset_t) -> c_int; in sigsuspend() argument
4238 ) -> c_int; in getgrgid_r() argument
4239 pub fn sigaltstack(ss: *const stack_t, oss: *mut stack_t) -> c_int; in sigaltstack() argument
4240 pub fn sem_close(sem: *mut sem_t) -> c_int; in sem_close() argument
4241 pub fn getdtablesize() -> c_int; in getdtablesize()
4248 ) -> c_int; in getgrnam_r() argument
4249 pub fn initgroups(user: *const c_char, group: crate::gid_t) -> c_int; in initgroups() argument
4250 pub fn pthread_sigmask(how: c_int, set: *const sigset_t, oldset: *mut sigset_t) -> c_int; in pthread_sigmask() argument
4251 pub fn sem_open(name: *const c_char, oflag: c_int, ...) -> *mut sem_t; in sem_open() argument
4253 pub fn pthread_cancel(thread: crate::pthread_t) -> c_int; in pthread_cancel() argument
4254 pub fn pthread_kill(thread: crate::pthread_t, sig: c_int) -> c_int; in pthread_kill() argument
4255 pub fn sem_unlink(name: *const c_char) -> c_int; in sem_unlink() argument
4256 pub fn daemon(nochdir: c_int, noclose: c_int) -> c_int; in daemon() argument
4263 ) -> c_int; in getpwnam_r() argument
4270 ) -> c_int; in getpwuid_r() argument
4271 pub fn sigwait(set: *const sigset_t, sig: *mut c_int) -> c_int; in sigwait() argument
4276 ) -> c_int; in pthread_atfork() argument
4287 ngroups: *mut c_int, in getgrouplist() argument
4288 ) -> c_int; in getgrouplist() argument
4290 pub fn faccessat(dirfd: c_int, pathname: *const c_char, mode: c_int, flags: c_int) -> c_int; in faccessat() argument
4296 ) -> c_int; in pthread_create() argument
4303 ) -> c_int, in dl_iterate_phdr() argument
4306 ) -> c_int; in dl_iterate_phdr()