← All posts

C Standard, Networking, and POSIX Macros Reference

Reference ~2 hr 40 min read
Table of contents ▸
  1. Contents
  2. Sockets Core
  3. Network Protocols
  4. System Primitives
  5. File Controls
  6. Error Codes
  7. Limits & Types
  8. Standard Utilities
  9. Epoll

C Standard, Networking, and POSIX Macros Reference

This reference was born out of pure necessity. While I was diving deep into writing a custom HTTP server from scratch in x86_64 Assembly, I found myself constantly needing the exact, compiled integer values for POSIX, networking, and socket constants. Frustrated by the fragmented documentation online, I realized I needed a single source of truth so I built a custom Python pipeline that leverages the GCC preprocessor to extract every object-like macro. Because the preprocessor can’t evaluate C enums (like SOCK_STREAM), the script dynamically compiles and executes temporary C binaries to resolve those values at runtime. I finally utilized an LLM to generate context-aware descriptions for each constant. The result is a comprehensive, searchable database of over 2,100 fully evaluated macros, built specifically for low-level systems programmers who need to know exactly what the compiler sees.

Contents

  • Sockets Core
  • Network Protocols
  • System Primitives
  • File Controls
  • Error Codes
  • Limits & Types
  • Standard Utilities
  • Epoll

Sockets Core

Socket address families (AF_*, raw integers), their protocol-family aliases (PF_*), kernel crypto (AF_ALG) and netlink (AF_ROUTE) families, glibc feature-test / typedef guards, select() bitmap types (fd_set, NFDBITS), and floating-point-suffix constants (__FLT*, __DEC*). Rows come from <sys/socket.h>, <bits/socket.h>, <sys/select.h>, <features.h>, and <math.h>.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
AF_ALG38intAddress family for the kernel crypto API (algorithm sockets).
AF_APPLETALK5intAddress family for AppleTalk sockets passed to socket().
AF_ASH18intAddress family for the obsolete Ash packet protocol.
AF_ATMPVC8intAddress family for ATM permanent virtual circuits.
AF_ATMSVC20intAddress family for ATM switched virtual circuits.
AF_AX253intAddress family for amateur-radio AX.25 packet sockets.
AF_BLUETOOTH31intAddress family for Bluetooth sockets (L2CAP, RFCOMM, SCO).
AF_BRIDGE7intAddress family for transparent Ethernet bridging sockets.
AF_CAIF37intAddress family for the CAIF communications stack.
AF_CAN29intAddress family for Controller Area Network (CAN) sockets.
AF_DECnet12intAddress family for DECnet sockets.
AF_ECONET19intAddress family for the obsolete Econet protocol.
AF_FILE1intAddress family for Unix-domain filesystem sockets; alias of AF_UNIX.
AF_IB27intAddress family for InfiniBand sockets.
AF_IEEE80215436intAddress family for IEEE 802.15.4 low-power wireless sockets.
AF_INET2intAddress family for IPv4 Internet sockets passed to socket().
AF_INET610intAddress family for IPv6 Internet sockets passed to socket().
AF_IPX4intAddress family for Novell IPX sockets.
AF_IRDA23intAddress family for IrDA infrared sockets.
AF_ISDN34intAddress family for ISDN link-layer sockets.
AF_IUCV32intAddress family for s390 IUCV inter-user communication.
AF_KCM41intAddress family for the kernel connection multiplexer (KCM).
AF_KEY15intAddress family for PF_KEYv2 IPsec key-management sockets.
AF_LLC26intAddress family for IEEE 802.2 logical link control.
AF_LOCAL1intAddress family for Unix-domain local IPC sockets; alias of AF_UNIX.
AF_MAX46intLargest address-family value; upper bound of AF_* tables.
AF_MCTP45intAddress family for the Management Component Transport Protocol.
AF_MPLS28intAddress family for Multiprotocol Label Switching.
AF_NETBEUI13intAddress family for the obsolete NetBEUI protocol.
AF_NETLINK16intAddress family for kernel-userspace netlink sockets.
AF_NETROM6intAddress family for amateur-radio NET/ROM sockets.
AF_NFC39intAddress family for Near Field Communication sockets.
AF_PACKET17intAddress family for raw packets on network devices.
AF_PHONET35intAddress family for the Nokia Phonet network.
AF_PPPOX24intAddress family for PPP over X (PPPoE, PPPoL2TP) sockets.
AF_QIPCRTR42intAddress family for the Qualcomm IPC router.
AF_RDS21intAddress family for the Reliable Datagram Sockets protocol.
AF_ROSE11intAddress family for the X.25 packet-layer ROSE protocol.
AF_ROUTE16intAddress family for netlink route manipulation; equals AF_NETLINK.
AF_RXRPC33intAddress family for RxRPC remote procedure call sockets.
AF_SECURITY14intAddress family for obsolete kernel security sockets.
AF_SMC43intAddress family for Shared Memory Communications (SMC) sockets.
AF_SNA22intAddress family for IBM Systems Network Architecture sockets.
AF_TIPC30intAddress family for TIPC cluster sockets.
AF_UNIX1intAddress family for Unix-domain local IPC sockets. See also: PF_UNIX (same value, protocol-family name).
AF_UNSPEC0intUnspecified address family; lets the kernel select any family.
AF_VSOCK40intAddress family for guest-host VM sockets.
AF_WANPIPE25intAddress family for the obsolete Sangoma WANPIPE.
AF_X259intAddress family for the X.25 packet-layer protocol.
AF_XDP44intAddress family for eXpress Data Path (XDP) sockets.
BIG_ENDIAN4321intbyte-order constant for most-significant-byte-first layouts; compare with BYTE_ORDER.
BYTE_ORDER1234intequals either BIG_ENDIAN or LITTLE_ENDIAN; identifies the host byte order.
FD_SETSIZE1024intmaximum number of file descriptors an fd_set passed to select() can describe.
FIOGETOWN0x8903intioctl request returning the process (or process group) that owns the socket for SIGIO.
FIOSETOWN0x8901intioctl request setting the process (or process group) that owns the socket for SIGIO.
LITTLE_ENDIAN1234intbyte-order constant for least-significant-byte-first layouts; compare with BYTE_ORDER.
MSG_BATCH262144intsendmmsg() hint to batch datagrams onto the wire together.
MSG_CMSG_CLOEXEC1073741824intrecvmsg() flag setting close-on-exec on received SCM_RIGHTS file descriptors.
MSG_CONFIRM2048intsend() hint suppressing neighbor resolution traffic when peer is reachable.
MSG_CTRUNC8intrecvmsg() return flag reporting that control (ancillary) data was truncated.
MSG_DONTROUTE4intsend() flag bypassing the routing table (host must be on the local link).
MSG_DONTWAIT64intflag making this one call non-blocking, like O_NONBLOCK for the socket.
MSG_EOR128intsend()/recv() flag marking the end of a record on SEQPACKET sockets.
MSG_ERRQUEUE8192intrecvmsg() flag retrieving an error from the kernel socket error queue.
MSG_FASTOPEN536870912intsend() flag requesting TCP Fast Open on the first connection attempt.
MSG_FIN512intinternal TCP FIN flag used by the kernel; not for application use.
MSG_MORE32768intsend() flag deferring transmission so following sends coalesce (like TCP_CORK).
MSG_NOSIGNAL16384intsend() flag suppressing SIGPIPE; the call returns EPIPE instead.
MSG_OOB1intsend()/recv() flag for transmitting or receiving out-of-band data.
MSG_PEEK2intrecv() flag peeking at queued data without removing it from the receive buffer.
MSG_PROXY16intobsolete flag from BSD; waits for a full request before delivery.
MSG_RST4096intinternal TCP RST flag used by the kernel; not for application use.
MSG_SOCK_DEVMEM33554432intrecvmsg() flag requesting SCM_DEVMEM* ancillary data for received devmem.
MSG_SYN1024intinternal TCP SYN flag used by the kernel; not for application use.
MSG_TRUNC32intrecv() return flag reporting that the datagram was truncated to fit the buffer.
MSG_WAITALL256intrecv() flag blocking until the full requested amount of data is received.
MSG_WAITFORONE65536intrecvmmsg() flag returning after the first datagram to bound per-call blocking.
MSG_ZEROCOPY67108864intsend() flag transmitting page-cache-backed memory without copying into kernel.
NFDBITS(8 * (int) sizeof (__fd_mask))intNumber of bits (64) per word used to index the fd_set bitmap for select().
PDP_ENDIAN3412intbyte-order constant for PDP middle-endian (word-swapped) layouts.
PF_ALG38intProtocol-family alias carrying the same value as AF_ALG; interchangeable on Linux.
PF_APPLETALK5intProtocol-family alias carrying the same value as AF_APPLETALK; interchangeable on Linux.
PF_ASH18intProtocol-family alias carrying the same value as AF_ASH; interchangeable on Linux.
PF_ATMPVC8intProtocol-family alias carrying the same value as AF_ATMPVC; interchangeable on Linux.
PF_ATMSVC20intProtocol-family alias carrying the same value as AF_ATMSVC; interchangeable on Linux.
PF_AX253intProtocol-family alias carrying the same value as AF_AX25; interchangeable on Linux.
PF_BLUETOOTH31intProtocol-family alias carrying the same value as AF_BLUETOOTH; interchangeable on Linux.
PF_BRIDGE7intProtocol-family alias carrying the same value as AF_BRIDGE; interchangeable on Linux.
PF_CAIF37intProtocol-family alias carrying the same value as AF_CAIF; interchangeable on Linux.
PF_CAN29intProtocol-family alias carrying the same value as AF_CAN; interchangeable on Linux.
PF_DECnet12intDECnet.
PF_ECONET19intProtocol-family alias carrying the same value as AF_ECONET; interchangeable on Linux.
PF_FILE1intProtocol-family alias carrying the same value as AF_FILE; interchangeable on Linux.
PF_IB27intProtocol-family alias carrying the same value as AF_IB; interchangeable on Linux.
PF_IEEE80215436intProtocol-family alias carrying the same value as AF_IEEE802154; interchangeable on Linux.
PF_INET2intProtocol-family alias carrying the same value as AF_INET; interchangeable on Linux.
PF_INET610intProtocol-family alias carrying the same value as AF_INET6; interchangeable on Linux.
PF_IPX4intProtocol-family alias carrying the same value as AF_IPX; interchangeable on Linux.
PF_IRDA23intProtocol-family alias carrying the same value as AF_IRDA; interchangeable on Linux.
PF_ISDN34intProtocol-family alias carrying the same value as AF_ISDN; interchangeable on Linux.
PF_IUCV32intProtocol-family alias carrying the same value as AF_IUCV; interchangeable on Linux.
PF_KCM41intProtocol-family alias carrying the same value as AF_KCM; interchangeable on Linux.
PF_KEY15intProtocol-family alias carrying the same value as AF_KEY; interchangeable on Linux.
PF_LLC26intProtocol-family alias carrying the same value as AF_LLC; interchangeable on Linux.
PF_LOCAL1intProtocol-family alias carrying the same value as AF_LOCAL; interchangeable on Linux.
PF_MAX46intLargest protocol-family value; upper bound of PF_* tables; equals AF_MAX.
PF_MCTP45intProtocol-family alias carrying the same value as AF_MCTP; interchangeable on Linux.
PF_MPLS28intProtocol-family alias carrying the same value as AF_MPLS; interchangeable on Linux.
PF_NETBEUI13intProtocol-family alias carrying the same value as AF_NETBEUI; interchangeable on Linux.
PF_NETLINK16intProtocol-family alias carrying the same value as AF_NETLINK; interchangeable on Linux.
PF_NETROM6intProtocol-family alias carrying the same value as AF_NETROM; interchangeable on Linux.
PF_NFC39intProtocol-family alias carrying the same value as AF_NFC; interchangeable on Linux.
PF_PACKET17intProtocol-family alias carrying the same value as AF_PACKET; interchangeable on Linux.
PF_PHONET35intProtocol-family alias carrying the same value as AF_PHONET; interchangeable on Linux.
PF_PPPOX24intProtocol-family alias carrying the same value as AF_PPPOX; interchangeable on Linux.
PF_QIPCRTR42intProtocol-family alias carrying the same value as AF_QIPCRTR; interchangeable on Linux.
PF_RDS21intProtocol-family alias carrying the same value as AF_RDS; interchangeable on Linux.
PF_ROSE11intProtocol-family alias carrying the same value as AF_ROSE; interchangeable on Linux.
PF_ROUTE16intProtocol-family alias carrying the same value as AF_ROUTE; interchangeable on Linux.
PF_RXRPC33intProtocol-family alias carrying the same value as AF_RXRPC; interchangeable on Linux.
PF_SECURITY14intProtocol-family alias carrying the same value as AF_SECURITY; interchangeable on Linux.
PF_SMC43intProtocol-family alias carrying the same value as AF_SMC; interchangeable on Linux.
PF_SNA22intProtocol-family alias carrying the same value as AF_SNA; interchangeable on Linux.
PF_TIPC30intProtocol-family alias carrying the same value as AF_TIPC; interchangeable on Linux.
PF_UNIX1intProtocol-family alias carrying the same value as AF_UNIX; interchangeable on Linux.
PF_UNSPEC0intUnspecified protocol family; equals AF_UNSPEC.
PF_VSOCK40intProtocol-family alias carrying the same value as AF_VSOCK; interchangeable on Linux.
PF_WANPIPE25intProtocol-family alias carrying the same value as AF_WANPIPE; interchangeable on Linux.
PF_X259intProtocol-family alias carrying the same value as AF_X25; interchangeable on Linux.
PF_XDP44intProtocol-family alias carrying the same value as AF_XDP; interchangeable on Linux.
SCM_DEVMEM_DMABUF79intcmsg_type for SOL_SOCKET ancillary data carrying a DMABUF fd for devmem RX.
SCM_DEVMEM_LINEAR78intcmsg_type for SOL_SOCKET ancillary data carrying a linearized devmem mapping.
SCM_INQ84intcmsg_type reporting the current amount of in-kernel data queued for the socket.
SCM_RIGHTS1intcmsg_type transferring an array of open file descriptors between processes.
SCM_TIMESTAMP29intcmsg_type carrying the 32-bit timeval receive timestamp.
SCM_TIMESTAMPING37intcmsg_type carrying RX/TX timestamping data configured by SO_TIMESTAMPING.
SCM_TIMESTAMPING_OPT_STATS54intcmsg_type carrying optional per-packet TCP statistics.
SCM_TIMESTAMPING_PKTINFO58intcmsg_type carrying packet-info (interface, padding) with timestamps.
SCM_TIMESTAMPNS35intcmsg_type carrying the timespec receive timestamp.
SCM_TS_OPT_ID81intcmsg_type carrying selective-ACK timestamp identification.
SCM_TXTIME61intcmsg_type specifying the scheduled transmit time used with SO_TXTIME.
SCM_WIFI_STATUS41intcmsg_type carrying the Wi-Fi ACK status reported by SO_WIFI_STATUS.
SHUT_RD0intsecond argument to shutdown(); disables further receive operations on the socket.
SHUT_RDWR2intsecond argument to shutdown(); disables both receive and send operations.
SHUT_WR1intsecond argument to shutdown(); disables further send operations on the socket.
SIOCATMARK0x8905intioctl request testing whether the socket’s read pointer is at the out-of-band mark.
SIOCGPGRP0x8904intioctl request returning the process group owning the socket.
SIOCGSTAMPNS_OLD0x8907intioctl request returning the receive timestamp as a legacy 32-bit struct timespec.
SIOCGSTAMP_OLD0x8906intioctl request returning the receive timestamp as a legacy 32-bit struct timeval.
SIOCSPGRP0x8902intioctl request setting the process group owning the socket.
SOCK_CLOEXEC524288inttype flag passed to socket() to set close-on-exec on the returned descriptor.
SOCK_DCCP6intsocket() type for DCCP datagram congestion-controlled connections.
SOCK_DGRAM2intsocket() type for connectionless, message-boundary-preserving datagram sockets.
SOCK_NONBLOCK2048inttype flag passed to socket() to create the socket in non-blocking mode.
SOCK_PACKET10intobsolete socket() type for direct device-level packet access (pre-AF_PACKET).
SOCK_RAW3intsocket() type giving direct access to the network protocol layer without headers.
SOCK_RDM4intsocket() type for reliable delivery of messages without ordering guarantees.
SOCK_SEQPACKET5intsocket() type for connection-oriented, ordered, record-delimited messages.
SOCK_STREAM1intsocket() type for reliable, ordered, connection-based byte streams.
SOL_AAL265intsetsockopt() level addressing the ATM adaptation-layer protocol.
SOL_ALG279intsetsockopt() level for the kernel crypto API sockets.
SOL_ATM264intsetsockopt() level addressing the ATM protocol family.
SOL_BLUETOOTH274intsetsockopt() level addressing the Bluetooth protocol family.
SOL_CAIF278intsetsockopt() level addressing the CAIF protocol family.
SOL_DCCP269intsetsockopt() level addressing DCCP protocol options.
SOL_DECNET261intsetsockopt() level addressing the DECnet protocol family.
SOL_IRDA266intsetsockopt() level addressing the IrDA protocol family.
SOL_IUCV277intsetsockopt() level addressing the IUCV protocol family.
SOL_KCM281intsetsockopt() level addressing the KCM connection multiplexer.
SOL_LLC268intsetsockopt() level addressing the LLC protocol family.
SOL_MCTP285intsetsockopt() level addressing the MCTP protocol family.
SOL_MPTCP284intsetsockopt() level addressing Multipath TCP protocol options.
SOL_NETBEUI267intsetsockopt() level addressing the NetBEUI protocol family.
SOL_NETLINK270intsetsockopt() level addressing netlink socket options.
SOL_NFC280intsetsockopt() level addressing the NFC protocol family.
SOL_PACKET263intsetsockopt() level addressing packet-socket options.
SOL_PNPIPE275intsetsockopt() level addressing the PNPIPE protocol family.
SOL_PPPOL2TP273intsetsockopt() level addressing the PPP over L2TP protocol family.
SOL_RAW255intsetsockopt() level addressing raw-socket protocol options.
SOL_RDS276intsetsockopt() level addressing Reliable Datagram Sockets options.
SOL_RXRPC272intsetsockopt() level addressing the RxRPC protocol family.
SOL_SMC286intsetsockopt() level addressing Shared Memory Communications options.
SOL_SOCKET1intsetsockopt()/getsockopt() level for generic, protocol-independent socket options.
SOL_TIPC271intsetsockopt() level addressing the TIPC protocol family.
SOL_TLS282intsetsockopt() level addressing kernel TLS (kTLS) protocol options.
SOL_VSOCK287intsetsockopt() level addressing the vsock protocol family.
SOL_X25262intsetsockopt() level addressing the X.25 protocol family.
SOL_XDP283intsetsockopt() level addressing XDP-socket options.
SOMAXCONN4096intupper bound (and Linux default) for the backlog argument to listen().
SO_ACCEPTCONN30intgetsockopt() option reporting whether the socket is listening for connections.
SO_ATTACH_BPF50intsetsockopt() option attaching a BPF program (via fd) as the socket filter.
SO_ATTACH_FILTER26intsetsockopt() option attaching a classic-BPF sock_fprog filter to the socket.
SO_ATTACH_REUSEPORT_CBPF51intsetsockopt() option attaching classic BPF to steer reuseport-group selection.
SO_ATTACH_REUSEPORT_EBPF52intsetsockopt() option attaching an eBPF program to steer reuseport-group selection.
SO_BINDTODEVICE25intsetsockopt() option binding the socket to a named network interface.
SO_BINDTOIFINDEX62intsetsockopt() option binding the socket to an interface by its ifindex.
SO_BPF_EXTENSIONS48intgetsockopt() option reporting the BPF extensions the kernel supports.
SO_BROADCAST6intsetsockopt() option enabling transmission of broadcast datagrams.
SO_BSDCOMPAT14intobsolete option enabling BSD-IV compatibility for Unix-domain sockets.
SO_BUF_LOCK72intsetsockopt() option locking the socket buffer sizes against later changes.
SO_BUSY_POLL46intsetsockopt() option enabling busy-polling for this socket (time in microseconds).
SO_BUSY_POLL_BUDGET70intsetsockopt() option limiting the number of packets polled per busy-poll round.
SO_CNX_ADVICE53intsetsockopt() option passing congestion advice to DCCP connections.
SO_COOKIE57intgetsockopt() option returning a unique per-socket kernel cookie.
SO_DEBUG1intsetsockopt() option enabling socket-level kernel debugging.
SO_DETACH_BPF27intsetsockopt() option detaching the BPF program identified by the given fd.
SO_DETACH_FILTER27intsetsockopt() option removing the currently attached socket filter.
SO_DETACH_REUSEPORT_BPF68intsetsockopt() option detaching the reuseport-group steering BPF program.
SO_DEVMEM_DMABUF79intsetsockopt() option requesting received devmem be delivered as DMABUF fds.
SO_DEVMEM_DONTNEED80intsetsockopt() option releasing kernel references to devmem page regions.
SO_DEVMEM_LINEAR78intsetsockopt() option requesting received devmem be delivered as linear mappings.
SO_DOMAIN39intgetsockopt() option returning the socket’s address family.
SO_DONTROUTE5intsetsockopt() option routing datagrams directly without a gateway.
SO_ERROR4intgetsockopt() option returning, then clearing, the pending socket error.
SO_GET_FILTER26intgetsockopt() option retrieving the socket’s currently attached filter.
SO_INCOMING_CPU49intgetsockopt() option returning the CPU that receives packets for this socket.
SO_INCOMING_NAPI_ID56intgetsockopt() option returning the NAPI ID used by this socket’s busy polling.
SO_INQ84intgetsockopt() option enabling MSG_TRUNC-style reporting of in-kernel receive-queue size.
SO_KEEPALIVE9intsetsockopt() option enabling periodic TCP keepalive probes.
SO_LINGER13intsetsockopt() option configuring close() to linger or abort by holding a struct linger.
SO_LOCK_FILTER44intsetsockopt() option locking the socket filter so it cannot be changed or removed.
SO_MARK36intsetsockopt() option setting the skb mark used by routing and packet filters.
SO_MAX_PACING_RATE47intsetsockopt() option setting the maximum transmit pacing rate in bytes/sec.
SO_MEMINFO55intgetsockopt() option returning TCP send/recv memory accounting information.
SO_NETNS_COOKIE71intgetsockopt() option returning the cookie identifying the socket’s network namespace.
SO_NOFCS43intsetsockopt() option disabling FCS verification on packet-socket receive.
SO_NO_CHECK11intsetsockopt() option disabling the UDP checksum (UDP-Lite).
SO_OOBINLINE10intsetsockopt() option leaving received out-of-band data inline in the stream.
SO_PASSCRED16intsetsockopt() option enabling delivery of SCM_CREDENTIALS on Unix-domain sockets.
SO_PASSPIDFD76intsetsockopt() option enabling delivery of the peer’s pidfd via ancillary data.
SO_PASSRIGHTS83intsetsockopt() option enabling transfer of file descriptors via SCM_RIGHTS.
SO_PASSSEC34intsetsockopt() option enabling delivery of the peer’s security label via ancillary data.
SO_PEEK_OFF42intsetsockopt() option setting the byte offset used by SO_PEEK-style reads.
SO_PEERCRED17intgetsockopt() option returning the credentials of the connected Unix-domain peer.
SO_PEERGROUPS59intgetsockopt() option returning the supplementary groups of the connected peer.
SO_PEERNAME28intobsolete getsockopt() option returning the name of the connected peer.
SO_PEERPIDFD77intgetsockopt() option returning a pidfd identifying the connected peer process.
SO_PEERSEC31intgetsockopt() option returning the security label of the connected peer.
SO_PREFER_BUSY_POLL69intsetsockopt() option preferring busy polling over the network receive path.
SO_PRIORITY12intsetsockopt() option setting the socket priority for packet scheduling.
SO_PROTOCOL38intgetsockopt() option returning the socket’s protocol number.
SO_RCVBUF8intsetsockopt()/getsockopt() option for the socket receive buffer size.
SO_RCVBUFFORCE33intsetsockopt() option forcing the receive buffer size past rmem_max (needs CAP_NET_ADMIN).
SO_RCVLOWAT18intsetsockopt() option setting the minimum bytes received before read() unblocks.
SO_RCVMARK75intgetsockopt() option returning the skb mark of the most recently received packet.
SO_RCVPRIORITY82intgetsockopt() option returning the priority of the most recently received packet.
SO_RCVTIMEO20intsetsockopt() option setting the receive timeout as a struct timeval.
SO_RCVTIMEO_NEW66intsetsockopt() option setting the receive timeout using 64-bit timeval.
SO_RCVTIMEO_OLD20intsetsockopt() option setting the receive timeout using the legacy 32-bit timeval.
SO_RESERVE_MEM73intsetsockopt() option reserving kernel memory for the socket’s receive path.
SO_REUSEADDR2intsetsockopt() option allowing binding to a port still in TIME_WAIT.
SO_REUSEPORT15intsetsockopt() option allowing multiple sockets to share one port with load balancing.
SO_RXQ_OVFL40intsetsockopt() option reporting receive-queue overflow via an ancillary message.
SO_SECURITY_AUTHENTICATION22intreserved SELinux option requesting socket peer authentication.
SO_SECURITY_ENCRYPTION_NETWORK24intreserved SELinux option requesting network-layer socket encryption.
SO_SECURITY_ENCRYPTION_TRANSPORT23intreserved SELinux option requesting transport-layer socket encryption.
SO_SELECT_ERR_QUEUE45intsetsockopt() option making the socket error queue testable via select().
SO_SNDBUF7intsetsockopt()/getsockopt() option for the socket send buffer size.
SO_SNDBUFFORCE32intsetsockopt() option forcing the send buffer size past wmem_max (needs CAP_NET_ADMIN).
SO_SNDLOWAT19intsetsockopt() option setting the minimum bytes buffered before send() unblocks.
SO_SNDTIMEO21intsetsockopt() option setting the send timeout as a struct timeval.
SO_SNDTIMEO_NEW67intsetsockopt() option setting the send timeout using 64-bit timeval.
SO_SNDTIMEO_OLD21intsetsockopt() option setting the send timeout using the legacy 32-bit timeval.
SO_TIMESTAMP29intsetsockopt() option enabling receive timestamps delivered as 32-bit timeval.
SO_TIMESTAMPING37intsetsockopt() option configuring RX and TX packet timestamping modes.
SO_TIMESTAMPING_NEW65intsetsockopt() option configuring timestamping with the 64-bit timespec ABI.
SO_TIMESTAMPING_OLD37intsetsockopt() option configuring timestamping with the legacy 32-bit timespec ABI.
SO_TIMESTAMPNS35intsetsockopt() option enabling receive timestamps delivered as timespec.
SO_TIMESTAMPNS_NEW64intsetsockopt() option enabling timespec timestamps under the 64-bit time ABI.
SO_TIMESTAMPNS_OLD35intsetsockopt() option enabling timespec timestamps under the legacy time ABI.
SO_TIMESTAMP_NEW63intsetsockopt() option enabling timeval timestamps under the 64-bit time ABI.
SO_TIMESTAMP_OLD29intsetsockopt() option enabling timeval timestamps under the legacy time ABI.
SO_TXREHASH74intsetsockopt() option (obsolete) controlling TCP transmit re-hashing behavior.
SO_TXTIME61intsetsockopt() option enabling scheduled transmit times set per-packet via SCM_TXTIME.
SO_TYPE3intgetsockopt() option returning the socket type (SOCK_STREAM, SOCK_DGRAM, etc.).
SO_WIFI_STATUS41intsetsockopt() option enabling reporting of Wi-Fi ACK status via SCM_WIFI_STATUS.
SO_ZEROCOPY60intsetsockopt() option enabling zero-copy send() support on this socket.
_ASM_X86_POSIX_TYPES_64_H“macroInclude guard for the x86-64 kernel UAPI posix_types header.
_ATFILE_SOURCE1intglibc feature-test macro enabling the at() system call family and AT_ flags.
_BITS_ATOMIC_WIDE_COUNTER_H“macroInclude guard for glibc <bits/atomic-wide-counter.h>.
_BITS_BYTESWAP_H1intInclude guard for glibc <bits/byteswap.h> (byte-swap builtins).
_BITS_ENDIANNESS_H1intInclude guard for glibc <bits/endianness.h> (byte-order selection).
_BITS_ENDIAN_H1intInclude guard for glibc <bits/endian.h> (endian byte-order macros).
_BITS_PTHREADTYPES_ARCH_H1intInclude guard for glibc architecture-specific pthread type bits.
_BITS_PTHREADTYPES_COMMON_H1intInclude guard for glibc common pthread type bits.
_BITS_SOCKADDR_H1intInclude guard for glibc <bits/sockaddr.h> (sockaddr storage types).
_BITS_STDINT_INTN_H1intInclude guard for glibc <bits/stdint-intn.h> (fixed-width int typedefs).
_BITS_TIME64_H1intInclude guard for glibc <bits/time64.h> (64-bit time struct variants).
_BITS_TYPESIZES_H1intInclude guard for glibc <bits/typesizes.h>, mapping glibc types to ABI words.
_BITS_TYPES_H1intInclude guard for glibc <bits/types.h>, defining the __*_T_TYPE macros.
_BITS_UINTN_IDENTITY_H1intInclude guard for glibc <bits/uintn-identity.h> (uintN identity casts).
_BSD_SIZE_T_“macroBSD-derived size_t definition guard preventing duplicate typedefs.
_BSD_SIZE_T_DEFINED_“macroBSD-derived size_t definition guard preventing duplicate typedefs.
_DEFAULT_SOURCE1intglibc feature-test macro exposing default BSD/MISC declarations in the absence of strict standards.
_ENDIAN_H1intInclude guard for glibc <endian.h> (byte-order and byte-swap macros).
_FEATURES_H1intInclude guard for glibc <features.h>, which selects exposed feature sets.
_GCC_SIZE_T“macroGCC-internal guard marking that GCC has provided its own size_t typedef.
_LINUX_POSIX_TYPES_H“macroInclude guard for the kernel UAPI <linux/posix_types.h> header.
_LINUX_STDDEF_H“macroInclude guard for the kernel UAPI <linux/stddef.h> header.
_LP641intDefines to 1 to indicate the LP64 data model (64-bit long and pointers).
_POSIX_C_SOURCE202405Llongglibc feature-test macro requesting the POSIX.1 interfaces of the given edition (202405L = 2024).
_POSIX_SOURCE1intlegacy glibc feature-test macro enabling the POSIX.1-1990 interfaces.
_RWLOCK_INTERNAL_H“macroInclude guard for glibc internal pthread rwlock layout header.
_SIGSET_NWORDS(1024 / (8 * sizeof (unsigned long int)))intnumber of unsigned long words needed in a sigset_t to cover 1024 signals.
_SIZET_“macroHistorical size_t definition guard preventing duplicate typedefs.
_SIZE_T“macroHistorical size_t definition guard preventing duplicate typedefs.
_SIZE_T_“macroHistorical size_t definition guard preventing duplicate typedefs.
_SIZE_T_DECLARED“macroHistorical size_t definition guard used by BSD-derived headers.
_SIZE_T_DEFINED“macroHistorical size_t definition guard used by BSD-derived headers.
_SIZE_T_DEFINED_“macroHistorical size_t definition guard used by BSD-derived headers.
_SS_PADSIZE(128 - (sizeof (unsigned short int)) - sizeof (unsigned long int))intglibc-internal padding size bringing struct sockaddr_storage to 128 bytes.
_SS_SIZE128intglibc-internal total size in bytes of struct sockaddr_storage.
_STDC_PREDEF_H1intInclude guard for glibc <stdc-predef.h>, which predefines _STDC_IEC* macros.
_STRUCT_TIMESPEC1intInclude guard matching the one used in <linux/time.h> for struct timespec.
_SYS_CDEFS_H1intInclude guard for glibc <sys/cdefs.h> (compiler-attribute helper macros).
_SYS_SELECT_H1intInclude guard for glibc <sys/select.h> (select() and fd_set).
_SYS_SIZE_T_H“macroInclude guard for the legacy <sys/size_t.h> header.
_SYS_SOCKET_H1intInclude guard for glibc <sys/socket.h> (socket system calls).
_SYS_TYPES_H1intInclude guard for glibc <sys/types.h> (basic system typedefs).
_THREAD_MUTEX_INTERNAL_H1intInclude guard for glibc internal pthread mutex layout header.
_THREAD_SHARED_TYPES_H1intInclude guard for glibc internal pthread shared type bits.
_T_SIZE“macroHistorical size_t definition guard used by legacy sys/size_t.h headers.
_T_SIZE_“macroHistorical size_t definition guard used by legacy sys/size_t.h headers.
__ASM_GENERIC_BITS_PER_LONG“macroInclude guard for the kernel asm-generic bits-per-long header.
__ASM_GENERIC_POSIX_TYPES_H“macroInclude guard for the kernel asm-generic posix_types header.
__ASM_GENERIC_SOCKET_H“macroInclude guard for the kernel asm-generic socket options header.
__ASM_GENERIC_SOCKIOS_H“macroInclude guard for the kernel asm-generic socket ioctl codes header.
__ASM_X86_BITSPERLONG_H“macroInclude guard for the x86 kernel bits-per-long header.
__ATOMIC_ACQUIRE2intGCC memory-order constant: acquire ordering for _atomic* builtins.
__ATOMIC_ACQ_REL4intGCC memory-order constant: acquire+release ordering for _atomic* builtins.
__ATOMIC_CONSUME1intGCC memory-order constant: consume ordering for _atomic* builtins.
__ATOMIC_HLE_ACQUIRE65536intHardware lock-elision hint ORed with __ATOMIC_ACQUIRE on x86.
__ATOMIC_HLE_RELEASE131072intHardware lock-elision hint ORed with __ATOMIC_RELEASE on x86.
__ATOMIC_RELAXED0intGCC memory-order constant: relaxed ordering for _atomic* builtins.
__ATOMIC_RELEASE3intGCC memory-order constant: release ordering for _atomic* builtins.
__ATOMIC_SEQ_CST5intGCC memory-order constant: sequentially-consistent ordering for _atomic* builtins.
__BEGIN_DECLS“macroglibc header macro; opens extern “C” scope so headers compile from C+.
__BFLT16_DECIMAL_DIG__4intNumber of decimal digits needed to round-trip a _Float16-adjacent __bf16 value.
__BFLT16_DENORM_MIN__9.18354961579912115600575419704879436e-41BF16macroMinimum positive subnormal (denormal) value representable by _Float16-adjacent __bf16.
__BFLT16_DIG__2intNumber of decimal digits that _Float16-adjacent __bf16 can represent exactly.
__BFLT16_EPSILON__7.81250000000000000000000000000000000e-3BF16macroDifference between 1.0 and the next representable _Float16-adjacent __bf16 value.
__BFLT16_HAS_DENORM__1intDefines to 1 when _Float16-adjacent __bf16 supports subnormal (denormal) values.
__BFLT16_HAS_INFINITY__1intDefines to 1 when _Float16-adjacent __bf16 supports infinity.
__BFLT16_HAS_QUIET_NAN__1intDefines to 1 when _Float16-adjacent __bf16 supports quiet NaN.
__BFLT16_IS_IEC_60559__0intDefines to 1 when _Float16-adjacent __bf16 conforms to IEC 60559 (IEEE 754).
__BFLT16_MANT_DIG__8intNumber of mantissa digits (bits) in the significand of _Float16-adjacent __bf16.
__BFLT16_MAX_10_EXP__38intMaximum decimal exponent of _Float16-adjacent __bf16.
__BFLT16_MAX_EXP__128intMaximum exponent of _Float16-adjacent __bf16 (one above NORM_MAX exponent).
__BFLT16_MAX__3.38953138925153547590470800371487867e+38BF16macroMaximum finite value representable by _Float16-adjacent __bf16.
__BFLT16_MIN_10_EXP__(-37)intMinimum normalized decimal exponent of _Float16-adjacent __bf16.
__BFLT16_MIN_EXP__(-125)intMinimum normalized exponent of _Float16-adjacent __bf16.
__BFLT16_MIN__1.17549435082228750796873653722224568e-38BF16macroMinimum positive normalized value representable by _Float16-adjacent __bf16.
__BFLT16_NORM_MAX__3.38953138925153547590470800371487867e+38BF16macroMaximum normalized finite value representable by _Float16-adjacent __bf16.
__BIGGEST_ALIGNMENT__16intLargest alignment, in bytes, required by any type on this target.
__BIG_ENDIAN4321intglibc byte-order value distinguishing big-endian host ordering.
__BITINT_MAXWIDTH__65535intMaximum bit width supported by the _BitInt(N) extended integer type.
__BITS_PER_LONG64intnumber of bits in an unsigned long in the kernel (64 on x86-64).
__BITS_PER_LONG_LONG64intnumber of bits in an unsigned long long in the kernel (64).
__BITS_SOCKET_H“macroInclude guard for the kernel UAPI <bits/socket.h> (socket options).
__BIT_TYPES_DEFINED__1intDefines to 1 once the legacy u_char/u_int/quad_t family typedefs exist.
__BLKCNT64_T_TYPElong intmacroglibc-internal underlying type for the public blkcnt64_t typedef.
__BLKCNT_T_TYPElong intmacroglibc-internal underlying type for the public blkcnt_t typedef.
__BLKSIZE_T_TYPElong intmacroglibc-internal underlying type for the public blksize_t typedef.
__BYTE_ORDER1234intglibc byte-order constant: equals __LITTLE_ENDIAN or __BIG_ENDIAN on the host.
__BYTE_ORDER__1234intGCC predefined byte order of the host, equalling ORDER_LITTLE_ENDIAN et al.
__CHAR16_TYPE__short unsigned intmacroGCC predefined backing type for char16_t (unsigned short).
__CHAR32_TYPE__unsigned intmacroGCC predefined backing type for char32_t (unsigned int).
__CHAR8_TYPE__unsigned charmacroGCC predefined backing type for char8_t (unsigned char).
__CHAR_BIT__8intNumber of bits in a char (8 on this target).
__CLOCKID_T_TYPEintmacroglibc-internal underlying type for the public clockid_t typedef.
__CLOCK_T_TYPElong intmacroglibc-internal underlying type for the public clock_t typedef.
__COLD__attribute__ ((__cold__))macroglibc wrapper for the GCC cold attribute, emitted on rarely executed functions.
__CONST_SOCKADDR_ARGconst struct sockaddr *macroglibc-internal pointer type for const struct sockaddr args in socket syscalls.
__CPU_MASK_TYPEunsigned long intmacroglibc-internal word type used to build the cpu_set_t bitmap.
__DADDR_T_TYPEintmacroglibc-internal underlying type for the public daddr_t typedef.
__DBL_DECIMAL_DIG__17intNumber of decimal digits needed to round-trip a double value.
__DBL_DENORM_MIN__((double)4.94065645841246544176568792868221372e-324L)intMinimum positive subnormal (denormal) value representable by double.
__DBL_DIG__15intNumber of decimal digits that double can represent exactly.
__DBL_EPSILON__((double)2.22044604925031308084726333618164062e-16L)intDifference between 1.0 and the next representable double value.
__DBL_HAS_DENORM__1intDefines to 1 when double supports subnormal (denormal) values.
__DBL_HAS_INFINITY__1intDefines to 1 when double supports infinity.
__DBL_HAS_QUIET_NAN__1intDefines to 1 when double supports quiet NaN.
__DBL_IS_IEC_60559__1intDefines to 1 when double conforms to IEC 60559 (IEEE 754).
__DBL_MANT_DIG__53intNumber of mantissa digits (bits) in the significand of double.
__DBL_MAX_10_EXP__308intMaximum decimal exponent of double.
__DBL_MAX_EXP__1024intMaximum exponent of double (one above NORM_MAX exponent).
__DBL_MAX__((double)1.79769313486231570814527423731704357e+308L)intMaximum finite value representable by double.
__DBL_MIN_10_EXP__(-307)intMinimum normalized decimal exponent of double.
__DBL_MIN_EXP__(-1021)intMinimum normalized exponent of double.
__DBL_MIN__((double)2.22507385850720138309023271733240406e-308L)intMinimum positive normalized value representable by double.
__DBL_NORM_MAX__((double)1.79769313486231570814527423731704357e+308L)intMaximum normalized finite value representable by double.
__DEC128_EPSILON__1E-33DLmacroDifference between 1.0 and the next representable decimal128 value.
__DEC128_MANT_DIG__34intNumber of mantissa digits (bits) in the significand of decimal128.
__DEC128_MAX_EXP__6145intMaximum exponent of decimal128 (one above NORM_MAX exponent).
__DEC128_MAX__9.999999999999999999999999999999999E6144DLmacroMaximum finite value representable by decimal128.
__DEC128_MIN_EXP__(-6142)intMinimum normalized exponent of decimal128.
__DEC128_MIN__1E-6143DLmacroMinimum positive normalized value representable by decimal128.
__DEC128_SUBNORMAL_MIN__0.000000000000000000000000000000001E-6143DLmacroMinimum positive subnormal value representable by decimal128.
__DEC32_EPSILON__1E-6DFmacroDifference between 1.0 and the next representable decimal32 value.
__DEC32_MANT_DIG__7intNumber of mantissa digits (bits) in the significand of decimal32.
__DEC32_MAX_EXP__97intMaximum exponent of decimal32 (one above NORM_MAX exponent).
__DEC32_MAX__9.999999E96DFmacroMaximum finite value representable by decimal32.
__DEC32_MIN_EXP__(-94)intMinimum normalized exponent of decimal32.
__DEC32_MIN__1E-95DFmacroMinimum positive normalized value representable by decimal32.
__DEC32_SUBNORMAL_MIN__0.000001E-95DFmacroMinimum positive subnormal value representable by decimal32.
__DEC64X_EPSILON__1E-33D64xmacroDifference between 1.0 and the next representable fallback 128-bit decimal value.
__DEC64X_MANT_DIG__34intNumber of mantissa digits (bits) in the significand of fallback 128-bit decimal.
__DEC64X_MAX_EXP__6145intMaximum exponent of fallback 128-bit decimal (one above NORM_MAX exponent).
__DEC64X_MAX__9.999999999999999999999999999999999E6144D64xmacroMaximum finite value representable by fallback 128-bit decimal.
__DEC64X_MIN_EXP__(-6142)intMinimum normalized exponent of fallback 128-bit decimal.
__DEC64X_MIN__1E-6143D64xmacroMinimum positive normalized value representable by fallback 128-bit decimal.
__DEC64X_SUBNORMAL_MIN__0.000000000000000000000000000000001E-6143D64xmacroMinimum positive subnormal value representable by fallback 128-bit decimal.
__DEC64_EPSILON__1E-15DDmacroDifference between 1.0 and the next representable decimal64 value.
__DEC64_MANT_DIG__16intNumber of mantissa digits (bits) in the significand of decimal64.
__DEC64_MAX_EXP__385intMaximum exponent of decimal64 (one above NORM_MAX exponent).
__DEC64_MAX__9.999999999999999E384DDmacroMaximum finite value representable by decimal64.
__DEC64_MIN_EXP__(-382)intMinimum normalized exponent of decimal64.
__DEC64_MIN__1E-383DDmacroMinimum positive normalized value representable by decimal64.
__DEC64_SUBNORMAL_MIN__0.000000000000001E-383DDmacroMinimum positive subnormal value representable by decimal64.
__DECIMAL_BID_FORMAT__1intDefines to 1 when decimal floating types use the IEEE BID encoding.
__DECIMAL_DIG__21intDecimal digits needed to round-trip the widest supported floating type.
__DEC_EVAL_METHOD__2intDecimal evaluation method: 2 evaluates expressions in the widest decimal type.
__DEFINED_size_t“macromarker used by G++ to indicate the C++ size_t has been defined.
__DEV_T_TYPEunsigned long intmacroglibc-internal underlying type for the public dev_t typedef.
__ELF__1intDefines to 1 when the target emits ELF object files.
__END_DECLS“macroglibc header macro; closes the extern “C” scope opened by __BEGIN_DECLS.
__FD_SETSIZE1024intplatform limit on descriptors addressable in an fd_set (basis for FD_SETSIZE).
__FINITE_MATH_ONLY__0intDefines to 1 when -ffinite-math-only assumes no NaN or infinity.
__FLOAT_WORD_ORDER1234intbyte order used for the words of a double on this host (:LE = little-endian).
__FLOAT_WORD_ORDER__1234intGCC predefined byte order of the words of a double, like BYTE_ORDER.
__FLT128_DECIMAL_DIG__36intNumber of decimal digits needed to round-trip a _Float128 value.
__FLT128_DENORM_MIN__6.47517511943802511092443895822764655e-4966F128macroMinimum positive subnormal (denormal) value representable by _Float128.
__FLT128_DIG__33intNumber of decimal digits that _Float128 can represent exactly.
__FLT128_EPSILON__1.92592994438723585305597794258492732e-34F128macroDifference between 1.0 and the next representable _Float128 value.
__FLT128_HAS_DENORM__1intDefines to 1 when _Float128 supports subnormal (denormal) values.
__FLT128_HAS_INFINITY__1intDefines to 1 when _Float128 supports infinity.
__FLT128_HAS_QUIET_NAN__1intDefines to 1 when _Float128 supports quiet NaN.
__FLT128_IS_IEC_60559__1intDefines to 1 when _Float128 conforms to IEC 60559 (IEEE 754).
__FLT128_MANT_DIG__113intNumber of mantissa digits (bits) in the significand of _Float128.
__FLT128_MAX_10_EXP__4932intMaximum decimal exponent of _Float128.
__FLT128_MAX_EXP__16384intMaximum exponent of _Float128 (one above NORM_MAX exponent).
__FLT128_MAX__1.18973149535723176508575932662800702e+4932F128macroMaximum finite value representable by _Float128.
__FLT128_MIN_10_EXP__(-4931)intMinimum normalized decimal exponent of _Float128.
__FLT128_MIN_EXP__(-16381)intMinimum normalized exponent of _Float128.
__FLT128_MIN__3.36210314311209350626267781732175260e-4932F128macroMinimum positive normalized value representable by _Float128.
__FLT128_NORM_MAX__1.18973149535723176508575932662800702e+4932F128macroMaximum normalized finite value representable by _Float128.
__FLT16_DECIMAL_DIG__5intNumber of decimal digits needed to round-trip a _Float16 value.
__FLT16_DENORM_MIN__5.96046447753906250000000000000000000e-8F16macroMinimum positive subnormal (denormal) value representable by _Float16.
__FLT16_DIG__3intNumber of decimal digits that _Float16 can represent exactly.
__FLT16_EPSILON__9.76562500000000000000000000000000000e-4F16macroDifference between 1.0 and the next representable _Float16 value.
__FLT16_HAS_DENORM__1intDefines to 1 when _Float16 supports subnormal (denormal) values.
__FLT16_HAS_INFINITY__1intDefines to 1 when _Float16 supports infinity.
__FLT16_HAS_QUIET_NAN__1intDefines to 1 when _Float16 supports quiet NaN.
__FLT16_IS_IEC_60559__1intDefines to 1 when _Float16 conforms to IEC 60559 (IEEE 754).
__FLT16_MANT_DIG__11intNumber of mantissa digits (bits) in the significand of _Float16.
__FLT16_MAX_10_EXP__4intMaximum decimal exponent of _Float16.
__FLT16_MAX_EXP__16intMaximum exponent of _Float16 (one above NORM_MAX exponent).
__FLT16_MAX__6.55040000000000000000000000000000000e+4F16macroMaximum finite value representable by _Float16.
__FLT16_MIN_10_EXP__(-4)intMinimum normalized decimal exponent of _Float16.
__FLT16_MIN_EXP__(-13)intMinimum normalized exponent of _Float16.
__FLT16_MIN__6.10351562500000000000000000000000000e-5F16macroMinimum positive normalized value representable by _Float16.
__FLT16_NORM_MAX__6.55040000000000000000000000000000000e+4F16macroMaximum normalized finite value representable by _Float16.
__FLT32X_DECIMAL_DIG__17intNumber of decimal digits needed to round-trip a _Float32x value.
__FLT32X_DENORM_MIN__4.94065645841246544176568792868221372e-324F32xmacroMinimum positive subnormal (denormal) value representable by _Float32x.
__FLT32X_DIG__15intNumber of decimal digits that _Float32x can represent exactly.
__FLT32X_EPSILON__2.22044604925031308084726333618164062e-16F32xmacroDifference between 1.0 and the next representable _Float32x value.
__FLT32X_HAS_DENORM__1intDefines to 1 when _Float32x supports subnormal (denormal) values.
__FLT32X_HAS_INFINITY__1intDefines to 1 when _Float32x supports infinity.
__FLT32X_HAS_QUIET_NAN__1intDefines to 1 when _Float32x supports quiet NaN.
__FLT32X_IS_IEC_60559__1intDefines to 1 when _Float32x conforms to IEC 60559 (IEEE 754).
__FLT32X_MANT_DIG__53intNumber of mantissa digits (bits) in the significand of _Float32x.
__FLT32X_MAX_10_EXP__308intMaximum decimal exponent of _Float32x.
__FLT32X_MAX_EXP__1024intMaximum exponent of _Float32x (one above NORM_MAX exponent).
__FLT32X_MAX__1.79769313486231570814527423731704357e+308F32xmacroMaximum finite value representable by _Float32x.
__FLT32X_MIN_10_EXP__(-307)intMinimum normalized decimal exponent of _Float32x.
__FLT32X_MIN_EXP__(-1021)intMinimum normalized exponent of _Float32x.
__FLT32X_MIN__2.22507385850720138309023271733240406e-308F32xmacroMinimum positive normalized value representable by _Float32x.
__FLT32X_NORM_MAX__1.79769313486231570814527423731704357e+308F32xmacroMaximum normalized finite value representable by _Float32x.
__FLT32_DECIMAL_DIG__9intNumber of decimal digits needed to round-trip a _Float32 value.
__FLT32_DENORM_MIN__1.40129846432481707092372958328991613e-45F32macroMinimum positive subnormal (denormal) value representable by _Float32.
__FLT32_DIG__6intNumber of decimal digits that _Float32 can represent exactly.
__FLT32_EPSILON__1.19209289550781250000000000000000000e-7F32macroDifference between 1.0 and the next representable _Float32 value.
__FLT32_HAS_DENORM__1intDefines to 1 when _Float32 supports subnormal (denormal) values.
__FLT32_HAS_INFINITY__1intDefines to 1 when _Float32 supports infinity.
__FLT32_HAS_QUIET_NAN__1intDefines to 1 when _Float32 supports quiet NaN.
__FLT32_IS_IEC_60559__1intDefines to 1 when _Float32 conforms to IEC 60559 (IEEE 754).
__FLT32_MANT_DIG__24intNumber of mantissa digits (bits) in the significand of _Float32.
__FLT32_MAX_10_EXP__38intMaximum decimal exponent of _Float32.
__FLT32_MAX_EXP__128intMaximum exponent of _Float32 (one above NORM_MAX exponent).
__FLT32_MAX__3.40282346638528859811704183484516925e+38F32macroMaximum finite value representable by _Float32.
__FLT32_MIN_10_EXP__(-37)intMinimum normalized decimal exponent of _Float32.
__FLT32_MIN_EXP__(-125)intMinimum normalized exponent of _Float32.
__FLT32_MIN__1.17549435082228750796873653722224568e-38F32macroMinimum positive normalized value representable by _Float32.
__FLT32_NORM_MAX__3.40282346638528859811704183484516925e+38F32macroMaximum normalized finite value representable by _Float32.
__FLT64X_DECIMAL_DIG__21intNumber of decimal digits needed to round-trip a _Float64x value.
__FLT64X_DENORM_MIN__3.64519953188247460252840593361941982e-4951F64xmacroMinimum positive subnormal (denormal) value representable by _Float64x.
__FLT64X_DIG__18intNumber of decimal digits that _Float64x can represent exactly.
__FLT64X_EPSILON__1.08420217248550443400745280086994171e-19F64xmacroDifference between 1.0 and the next representable _Float64x value.
__FLT64X_HAS_DENORM__1intDefines to 1 when _Float64x supports subnormal (denormal) values.
__FLT64X_HAS_INFINITY__1intDefines to 1 when _Float64x supports infinity.
__FLT64X_HAS_QUIET_NAN__1intDefines to 1 when _Float64x supports quiet NaN.
__FLT64X_IS_IEC_60559__1intDefines to 1 when _Float64x conforms to IEC 60559 (IEEE 754).
__FLT64X_MANT_DIG__64intNumber of mantissa digits (bits) in the significand of _Float64x.
__FLT64X_MAX_10_EXP__4932intMaximum decimal exponent of _Float64x.
__FLT64X_MAX_EXP__16384intMaximum exponent of _Float64x (one above NORM_MAX exponent).
__FLT64X_MAX__1.18973149535723176502126385303097021e+4932F64xmacroMaximum finite value representable by _Float64x.
__FLT64X_MIN_10_EXP__(-4931)intMinimum normalized decimal exponent of _Float64x.
__FLT64X_MIN_EXP__(-16381)intMinimum normalized exponent of _Float64x.
__FLT64X_MIN__3.36210314311209350626267781732175260e-4932F64xmacroMinimum positive normalized value representable by _Float64x.
__FLT64X_NORM_MAX__1.18973149535723176502126385303097021e+4932F64xmacroMaximum normalized finite value representable by _Float64x.
__FLT64_DECIMAL_DIG__17intNumber of decimal digits needed to round-trip a _Float64 value.
__FLT64_DENORM_MIN__4.94065645841246544176568792868221372e-324F64macroMinimum positive subnormal (denormal) value representable by _Float64.
__FLT64_DIG__15intNumber of decimal digits that _Float64 can represent exactly.
__FLT64_EPSILON__2.22044604925031308084726333618164062e-16F64macroDifference between 1.0 and the next representable _Float64 value.
__FLT64_HAS_DENORM__1intDefines to 1 when _Float64 supports subnormal (denormal) values.
__FLT64_HAS_INFINITY__1intDefines to 1 when _Float64 supports infinity.
__FLT64_HAS_QUIET_NAN__1intDefines to 1 when _Float64 supports quiet NaN.
__FLT64_IS_IEC_60559__1intDefines to 1 when _Float64 conforms to IEC 60559 (IEEE 754).
__FLT64_MANT_DIG__53intNumber of mantissa digits (bits) in the significand of _Float64.
__FLT64_MAX_10_EXP__308intMaximum decimal exponent of _Float64.
__FLT64_MAX_EXP__1024intMaximum exponent of _Float64 (one above NORM_MAX exponent).
__FLT64_MAX__1.79769313486231570814527423731704357e+308F64macroMaximum finite value representable by _Float64.
__FLT64_MIN_10_EXP__(-307)intMinimum normalized decimal exponent of _Float64.
__FLT64_MIN_EXP__(-1021)intMinimum normalized exponent of _Float64.
__FLT64_MIN__2.22507385850720138309023271733240406e-308F64macroMinimum positive normalized value representable by _Float64.
__FLT64_NORM_MAX__1.79769313486231570814527423731704357e+308F64macroMaximum normalized finite value representable by _Float64.
__FLT_DECIMAL_DIG__9intNumber of decimal digits needed to round-trip a float value.
__FLT_DENORM_MIN__1.40129846432481707092372958328991613e-45FmacroMinimum positive subnormal (denormal) value representable by float.
__FLT_DIG__6intNumber of decimal digits that float can represent exactly.
__FLT_EPSILON__1.19209289550781250000000000000000000e-7FmacroDifference between 1.0 and the next representable float value.
__FLT_EVAL_METHOD_TS_18661_3__0intTS 18661-3 evaluation method: 0 evaluates to its own precision.
__FLT_EVAL_METHOD__0intFloating evaluation method: 0 means each type is evaluated at its own precision.
__FLT_HAS_DENORM__1intDefines to 1 when float supports subnormal (denormal) values.
__FLT_HAS_INFINITY__1intDefines to 1 when float supports infinity.
__FLT_HAS_QUIET_NAN__1intDefines to 1 when float supports quiet NaN.
__FLT_IS_IEC_60559__1intDefines to 1 when float conforms to IEC 60559 (IEEE 754).
__FLT_MANT_DIG__24intNumber of mantissa digits (bits) in the significand of float.
__FLT_MAX_10_EXP__38intMaximum decimal exponent of float.
__FLT_MAX_EXP__128intMaximum exponent of float (one above NORM_MAX exponent).
__FLT_MAX__3.40282346638528859811704183484516925e+38FmacroMaximum finite value representable by float.
__FLT_MIN_10_EXP__(-37)intMinimum normalized decimal exponent of float.
__FLT_MIN_EXP__(-125)intMinimum normalized exponent of float.
__FLT_MIN__1.17549435082228750796873653722224568e-38FmacroMinimum positive normalized value representable by float.
__FLT_NORM_MAX__3.40282346638528859811704183484516925e+38FmacroMaximum normalized finite value representable by float.
__FLT_RADIX__2intradix of the floating-point exponent representation (2 = binary).
__FSBLKCNT64_T_TYPEunsigned long intmacroglibc-internal underlying type for the public fsblkcnt64_t typedef.
__FSBLKCNT_T_TYPEunsigned long intmacroglibc-internal underlying type for the public fsblkcnt_t typedef.
__FSFILCNT64_T_TYPEunsigned long intmacroglibc-internal underlying type for the public fsfilcnt64_t typedef.
__FSFILCNT_T_TYPEunsigned long intmacroglibc-internal underlying type for the public fsfilcnt_t typedef.
__FSID_T_TYPEstruct { int __val[2]; }macroglibc-internal two-int struct used to build the public fsid_t typedef.
__FSWORD_T_TYPElong intmacroglibc-internal underlying type for the public fsword_t typedef.
__FXSR__1intDefines to 1 when the FXSAVE/FXRSTOR optimization is enabled.
__GCC_ASM_FLAG_OUTPUTS__1intDefines to 1 when extended asm supports flag outputs (@cc).
__GCC_ATOMIC_BOOL_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on bool.
__GCC_ATOMIC_CHAR16_T_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on char16_t.
__GCC_ATOMIC_CHAR32_T_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on char32_t.
__GCC_ATOMIC_CHAR8_T_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on char8_t.
__GCC_ATOMIC_CHAR_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on char.
__GCC_ATOMIC_INT_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on int.
__GCC_ATOMIC_LLONG_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on llong.
__GCC_ATOMIC_LONG_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on long.
__GCC_ATOMIC_POINTER_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on pointer.
__GCC_ATOMIC_SHORT_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on short.
__GCC_ATOMIC_TEST_AND_SET_TRUEVAL1intValue returned by __atomic_test_and_set when the value is set.
__GCC_ATOMIC_WCHAR_T_LOCK_FREE2intLock-free classification (2 = always lock-free) for atomic builtins on wchar_t.
__GCC_CONSTRUCTIVE_SIZE64intbytes at/below which GCC uses constructive (copy) vector moves.
__GCC_DESTRUCTIVE_SIZE64intbytes at/below which GCC uses destructive (strm) vector moves.
__GCC_HAVE_DWARF2_CFI_ASM1intDefines to 1 when inline asm emits DWARF2 CFI unwind directives.
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_11intDefines to 1 when __sync_compare_and_swap_1 is available.
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_21intDefines to 1 when __sync_compare_and_swap_2 is available.
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_41intDefines to 1 when __sync_compare_and_swap_4 is available.
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_81intDefines to 1 when __sync_compare_and_swap_8 is available.
__GCC_IEC_5592intLevel of IEC 60559 fenv semantics GCC provides, per -frounding-math.
__GCC_IEC_559_COMPLEX2intLevel of IEC 60559 complex arithmetic semantics GCC provides.
__GID_T_TYPEunsigned intmacroglibc-internal underlying type for the public gid_t typedef.
__GLIBC_MINOR__44intglibc minor version number (44 here, i.e. glibc 2.44).
__GLIBC_USE_C23_STRTOL1intDefines to 1 so glibc exposes the C23 strtol-family interfaces.
__GLIBC_USE_DEPRECATED_GETS0intDefines to 1 to expose the deprecated gets() (0 = disabled).
__GLIBC_USE_DEPRECATED_SCANF0intDefines to 1 to expose deprecated scanf-related functions.
__GLIBC_USE_ISOC231intDefines to 1 when glibc exposes the ISO C23 interfaces.
__GLIBC_USE_ISOC2Y0intDefines to 1 when glibc exposes the next-draft (C2Y) interfaces.
__GLIBC__2intglibc major version number (2 here).
__GNUC_EXECUTION_CHARSET_NAMEUTF-8macroCharacter set GCC uses for narrow string literals (UTF-8).
__GNUC_MINOR__2intGCC minor version number (2 here).
__GNUC_PATCHLEVEL__1intGCC patch-level version number (1 here).
__GNUC_STDC_INLINE__1intDefines to 1 when GCC uses C99 standard inline semantics.
__GNUC_WIDE_EXECUTION_CHARSET_NAMEUTF-32LEmacroCharacter set GCC uses for wide string literals (UTF-32LE).
__GNUC__16intGCC major version number (16 here).
__GNU_LIBRARY__6intLegacy marker that identifies the library as the GNU C Library.
__GXX_ABI_VERSION1021intC++ ABI version implemented by the compiler (1021 = GCC 16 ELFv1).
__HAVE_GENERIC_SELECTION1intDefines to 1 when the compiler supports _Generic selection.
__HAVE_SPECULATION_SAFE_VALUE1intDefines to 1 when __builtin_speculation_safe_value is provided.
__ID_T_TYPEunsigned intmacroglibc-internal underlying type for the public id_t typedef.
__INO64_T_TYPEunsigned long intmacroglibc-internal underlying type for the public ino64_t typedef.
__INO_T_MATCHES_INO64_T1intDefines to 1 when ino_t has the same width as ino64_t (64-bit).
__INO_T_TYPEunsigned long intmacroglibc-internal underlying type for the public ino_t typedef.
__INT16_MAX__0x7fffintMaximum value representable by the signed 16-bit int16_t type.
__INT16_TYPE__short intmacroGCC predefined backing type for the signed 16-bit int16_t type.
__INT32_MAX__0x7fffffffintMaximum value representable by the signed 32-bit int32_t type.
__INT32_TYPE__intmacroGCC predefined backing type for the signed 32-bit int32_t type.
__INT64_MAX__0x7fffffffffffffffLlongMaximum value representable by the signed 64-bit int64_t type.
__INT64_TYPE__long intmacroGCC predefined backing type for the signed 64-bit int64_t type.
__INT8_MAX__0x7fintMaximum value representable by the signed 8-bit int8_t type.
__INT8_TYPE__signed charmacroGCC predefined backing type for the signed 8-bit int8_t type.
__INTMAX_MAX__0x7fffffffffffffffLlongMaximum value representable by intmax_t.
__INTMAX_TYPE__long intmacroGCC predefined backing type for intmax_t (long).
__INTMAX_WIDTH__64intBit width of intmax_t (64).
__INTPTR_MAX__0x7fffffffffffffffLlongMaximum value representable by intptr_t (largest pointer).
__INTPTR_TYPE__long intmacroGCC predefined backing type for intptr_t (long).
__INTPTR_WIDTH__64intBit width of intptr_t (64).
__INT_FAST16_MAX__0x7fffffffffffffffLlongMaximum value representable by int_fast16_t.
__INT_FAST16_TYPE__long intmacroGCC predefined backing type for int_fast16_t.
__INT_FAST16_WIDTH__64intBit width of int_fast16_t on this target.
__INT_FAST32_MAX__0x7fffffffffffffffLlongMaximum value representable by int_fast32_t.
__INT_FAST32_TYPE__long intmacroGCC predefined backing type for int_fast32_t.
__INT_FAST32_WIDTH__64intBit width of int_fast32_t on this target.
__INT_FAST64_MAX__0x7fffffffffffffffLlongMaximum value representable by int_fast64_t.
__INT_FAST64_TYPE__long intmacroGCC predefined backing type for int_fast64_t.
__INT_FAST64_WIDTH__64intBit width of int_fast64_t on this target.
__INT_FAST8_MAX__0x7fintMaximum value representable by int_fast8_t.
__INT_FAST8_TYPE__signed charmacroGCC predefined backing type for int_fast8_t.
__INT_FAST8_WIDTH__8intBit width of int_fast8_t on this target.
__INT_LEAST16_MAX__0x7fffintMaximum value representable by int_least16_t.
__INT_LEAST16_TYPE__short intmacroGCC predefined backing type for int_least16_t.
__INT_LEAST16_WIDTH__16intBit width of int_least16_t on this target.
__INT_LEAST32_MAX__0x7fffffffintMaximum value representable by int_least32_t.
__INT_LEAST32_TYPE__intmacroGCC predefined backing type for int_least32_t.
__INT_LEAST32_WIDTH__32intBit width of int_least32_t on this target.
__INT_LEAST64_MAX__0x7fffffffffffffffLlongMaximum value representable by int_least64_t.
__INT_LEAST64_TYPE__long intmacroGCC predefined backing type for int_least64_t.
__INT_LEAST64_WIDTH__64intBit width of int_least64_t on this target.
__INT_LEAST8_MAX__0x7fintMaximum value representable by int_least8_t.
__INT_LEAST8_TYPE__signed charmacroGCC predefined backing type for int_least8_t.
__INT_LEAST8_WIDTH__8intBit width of int_least8_t on this target.
__INT_MAX__0x7fffffffintMaximum value representable by an int on this target.
__INT_WIDTH__32intBit width of an int (32).
__KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL641intDefines to 1 when struct timeval layout matches timeval64.
__KERNEL_STRICT_NAMES“macrokernel UAPI toggle that strips legacy struct tags for strict namespace.
__KEY_T_TYPEintmacroglibc-internal underlying type for the public key_t typedef.
__LDBL_DECIMAL_DIG__21intNumber of decimal digits needed to round-trip a long double value.
__LDBL_DENORM_MIN__3.64519953188247460252840593361941982e-4951LmacroMinimum positive subnormal (denormal) value representable by long double.
__LDBL_DIG__18intNumber of decimal digits that long double can represent exactly.
__LDBL_EPSILON__1.08420217248550443400745280086994171e-19LmacroDifference between 1.0 and the next representable long double value.
__LDBL_HAS_DENORM__1intDefines to 1 when long double supports subnormal (denormal) values.
__LDBL_HAS_INFINITY__1intDefines to 1 when long double supports infinity.
__LDBL_HAS_QUIET_NAN__1intDefines to 1 when long double supports quiet NaN.
__LDBL_IS_IEC_60559__1intDefines to 1 when long double conforms to IEC 60559 (IEEE 754).
__LDBL_MANT_DIG__64intNumber of mantissa digits (bits) in the significand of long double.
__LDBL_MAX_10_EXP__4932intMaximum decimal exponent of long double.
__LDBL_MAX_EXP__16384intMaximum exponent of long double (one above NORM_MAX exponent).
__LDBL_MAX__1.18973149535723176502126385303097021e+4932LmacroMaximum finite value representable by long double.
__LDBL_MIN_10_EXP__(-4931)intMinimum normalized decimal exponent of long double.
__LDBL_MIN_EXP__(-16381)intMinimum normalized exponent of long double.
__LDBL_MIN__3.36210314311209350626267781732175260e-4932LmacroMinimum positive normalized value representable by long double.
__LDBL_NORM_MAX__1.18973149535723176502126385303097021e+4932LmacroMaximum normalized finite value representable by long double.
__LDOUBLE_REDIRECTS_TO_FLOAT128_ABI0intDefines to 0 when long double is a distinct type, not redirected.
__LEAF, __leaf__macroglibc wrapper emitting the leaf attribute in a declaration list.
__LEAF_ATTR__attribute__ ((__leaf__))macroglibc wrapper emitting the leaf attribute as a complete attribute specifier.
__LITTLE_ENDIAN1234intglibc byte-order value distinguishing little-endian host ordering.
__LOCK_ALIGNMENT“macroglibc-internal alignment used for pthread lock storage.
__LONG_LONG_MAX__0x7fffffffffffffffLLlongMaximum value representable by a long long int.
__LONG_LONG_WIDTH__64intBit width of a long long int (64).
__LONG_MAX__0x7fffffffffffffffLlongMaximum value representable by a long int on this target.
__LONG_WIDTH__64intBit width of a long int (64).
__LP64__1intGCC predefined 1 when the LP64 data model is in effect.
__MMX_WITH_SSE__1intDefines to 1 when MMX operates within the SSE execution environment.
__MMX__1intDefines to 1 when the MMX instruction set is enabled.
__MODE_T_TYPEunsigned intmacroglibc-internal underlying type for the public mode_t typedef.
__NFDBITS(8 * (int) sizeof (__fd_mask))intglibc-internal bits per fd_mask word used to compute fd_set indexing.
__NLINK_T_TYPEunsigned long intmacroglibc-internal underlying type for the public nlink_t typedef.
__NO_INLINE__1intDefines to 1 when function inlining is disabled.
__OFF64_T_TYPElong intmacroglibc-internal underlying type for the public off64_t typedef.
__OFF_T_MATCHES_OFF64_T1intDefines to 1 when off_t has the same width as off64_t.
__OFF_T_TYPElong intmacroglibc-internal underlying type for the public off_t typedef.
__ONCE_ALIGNMENT“macroglibc-internal alignment of the once_flag control word.
__ONCE_FLAG_INIT{ 0 }macroglibc initializer for a once_flag at file or function scope.
__ORDER_BIG_ENDIAN__4321intGCC constant identifying big-endian byte order when compared with BYTE_ORDER.
__ORDER_LITTLE_ENDIAN__1234intGCC constant identifying little-endian byte order when compared with BYTE_ORDER.
__ORDER_PDP_ENDIAN__3412intGCC constant identifying PDP middle-endian order when compared with BYTE_ORDER.
__PDP_ENDIAN3412intglibc byte-order value distinguishing PDP middle-endian ordering.
__PIC__2intDefines to 2 when position-independent code (PIC) is being generated.
__PID_T_TYPEintmacroglibc-internal underlying type for the public pid_t typedef.
__PIE__2intDefines to 2 when compiling a position-independent executable.
__PRAGMA_REDEFINE_EXTNAME1intDefines to 1 when #pragma redefine_extname is supported (Tru64 compat).
__PTHREAD_MUTEX_HAVE_PREV1intIndicates pthread_mutex_t embeds a prev pointer (robust-futex layout).
__PTRDIFF_MAX__0x7fffffffffffffffLlongMaximum value representable by ptrdiff_t.
__PTRDIFF_TYPE__long intmacroGCC predefined backing type for ptrdiff_t (long).
__PTRDIFF_WIDTH__64intBit width of ptrdiff_t (64).
__REDIRECT_FORTIFY__REDIRECTmacroglibc macro redirecting a fortified (checked) function to a mangled symbol.
__REDIRECT_FORTIFY_NTH__REDIRECT_NTHmacroglibc macro redirecting a non-throwing fortified function to a mangled symbol.
__REGISTER_PREFIX__“macroPrefix prepended to register names in inline assembly output.
__RLIM64_T_TYPEunsigned long intmacroglibc-internal underlying type for the public rlim64_t typedef.
__RLIM_T_MATCHES_RLIM64_T1intDefines to 1 when rlim_t has the same width as rlim64_t.
__RLIM_T_TYPEunsigned long intmacroglibc-internal underlying type for the public rlim_t typedef.
__S16_TYPEshort intmacroglibc-internal type for the signed 16-bit kernel ABI integer.
__S32_TYPEintmacroglibc-internal type for the signed 32-bit kernel ABI integer.
__S64_TYPElong intmacroglibc-internal type for the signed 64-bit kernel ABI integer.
__SCHAR_MAX__0x7fintMaximum value representable by a signed char.
__SCHAR_WIDTH__8intBit width of a signed char (8).
__SEG_FS1intDefines to 1 indicating a segment register (fs) is used for thread-local storage.
__SEG_GS1intDefines to 1 indicating a segment register (gs) is available.
__SHRT_MAX__0x7fffintMaximum value representable by a short int.
__SHRT_WIDTH__16intBit width of a short int (16).
__SIG_ATOMIC_MAX__0x7fffffffintMaximum value representable by sig_atomic_t.
__SIG_ATOMIC_MIN__(-0x7fffffff - 1)intMinimum value representable by sig_atomic_t.
__SIG_ATOMIC_TYPE__intmacroGCC predefined backing type for sig_atomic_t (int).
__SIG_ATOMIC_WIDTH__32intBit width of sig_atomic_t (32).
__SIZEOF_DOUBLE__8intSize in bytes of the double type on this target.
__SIZEOF_FLOAT128__16intSize in bytes of the float128 type on this target.
__SIZEOF_FLOAT80__16intSize in bytes of the float80 type on this target.
__SIZEOF_FLOAT__4intSize in bytes of the float type on this target.
__SIZEOF_INT128__16intSize in bytes of the int128 type on this target.
__SIZEOF_INT__4intSize in bytes of the int type on this target.
__SIZEOF_LONG_DOUBLE__16intSize in bytes of the long_double type on this target.
__SIZEOF_LONG_LONG__8intSize in bytes of the long_long type on this target.
__SIZEOF_LONG__8intSize in bytes of the long type on this target.
__SIZEOF_POINTER__8intSize in bytes of the pointer type on this target.
__SIZEOF_PTHREAD_ATTR_T56intSize in bytes of the glibc pthread attr_ type.
__SIZEOF_PTHREAD_BARRIERATTR_T4intSize in bytes of the glibc pthread barrierattr_ type.
__SIZEOF_PTHREAD_BARRIER_T32intSize in bytes of the glibc pthread barrier_ type.
__SIZEOF_PTHREAD_CONDATTR_T4intSize in bytes of the glibc pthread condattr_ type.
__SIZEOF_PTHREAD_COND_T48intSize in bytes of the glibc pthread cond_ type.
__SIZEOF_PTHREAD_MUTEXATTR_T4intSize in bytes of the glibc pthread mutexattr_ type.
__SIZEOF_PTHREAD_MUTEX_T40intSize in bytes of the glibc pthread mutex_ type.
__SIZEOF_PTHREAD_RWLOCKATTR_T8intSize in bytes of the glibc pthread rwlockattr_ type.
__SIZEOF_PTHREAD_RWLOCK_T56intSize in bytes of the glibc pthread rwlock_ type.
__SIZEOF_PTRDIFF_T__8intSize in bytes of the ptrdiff_t type on this target.
__SIZEOF_SHORT__2intSize in bytes of the short type on this target.
__SIZEOF_SIZE_T__8intSize in bytes of the size_t type on this target.
__SIZEOF_WCHAR_T__4intSize in bytes of the wchar_t type on this target.
__SIZEOF_WINT_T__4intSize in bytes of the wint_t type on this target.
__SIZE_MAX__0xffffffffffffffffULunsigned longMaximum value representable by size_t.
__SIZE_T“macroglibc-internal size_t definition guard preventing duplicate typedefs.
__SIZE_TYPE__long unsigned intmacroGCC predefined backing type for size_t (unsigned long on LP64).
__SIZE_T__“macroglibc-internal size_t definition guard preventing duplicate typedefs.
__SIZE_WIDTH__64intBit width of size_t (64 on LP64).
__SLONG32_TYPEintmacroglibc-internal 32-bit signed int type when long is wider.
__SLONGWORD_TYPElong intmacroglibc-internal signed long-word kernel ABI integer.
__SOCKADDR_ARGstruct sockaddr *__restrictmacroglibc-internal pointer type for struct sockaddr args in socket syscalls.
__SOCKADDR_COMMON_SIZE(sizeof (unsigned short int))intglibc-internal size of the common sa_family_t field at every sockaddr start.
__SQUAD_TYPElong intmacroglibc-internal signed 64-bit (“squad”) kernel ABI integer.
__SSE2_MATH__1intDefines to 1 when double math uses SSE2 registers.
__SSE2__1intDefines to 1 when the SSE2 instruction set is enabled.
__SSE_MATH__1intDefines to 1 when float math uses SSE registers.
__SSE__1intDefines to 1 when the SSE instruction set is enabled.
__SSIZE_T_TYPElong intmacroglibc-internal underlying type for the public ssize_t typedef.
__SSP_STRONG__3intDefines the active stack-protector level (3 = -fstack-protector-strong).
__STATFS_MATCHES_STATFS641intDefines to 1 when struct statfs matches struct statfs64.
__STDC_EMBED_EMPTY__2intC23 #embed result: resource found but is empty (zero length).
__STDC_EMBED_FOUND__1intC23 #embed result: resource found in the implementation search path.
__STDC_EMBED_NOT_FOUND__0intC23 #embed result: resource not found in the implementation search path.
__STDC_HOSTED__1intDefines to 1 in a hosted (full standard library) environment.
__STDC_IEC_559_COMPLEX__1intDefines to 1 when complex arithmetic conforms to IEC 60559.
__STDC_IEC_559__1intDefines to 1 when floating point conforms to IEC 60559 (IEEE 754).
__STDC_IEC_60559_BFP__201404LlongIEC 60559 binary floating-point conformance edition implemented.
__STDC_IEC_60559_COMPLEX__201404LlongIEC 60559 complex arithmetic conformance edition implemented.
__STDC_ISO_10646__201706LlongISO 10646 edition guaranteed for wchar_t values (201706L = Unicode 10.0).
__STDC_UTF_16__1intDefines to 1 when char16_t strings are encoded as UTF-16.
__STDC_UTF_32__1intDefines to 1 when char32_t strings are encoded as UTF-32.
__STDC_VERSION__202311LlongC standard version implemented (202311L means ISO C23).
__STDC__1intDefines to 1 for a standard-conforming C implementation.
__SUSECONDS64_T_TYPElong intmacroglibc-internal underlying type for the public suseconds64_t typedef.
__SUSECONDS_T_TYPElong intmacroglibc-internal underlying type for the public suseconds_t typedef.
__SWORD_TYPElong intmacroglibc-internal signed machine-word kernel ABI integer.
__SYSCALL_SLONG_TYPElong intmacroglibc-internal signed word type used for 64-bit syscall arguments.
__SYSCALL_ULONG_TYPEunsigned long intmacroglibc-internal unsigned word type used for 64-bit syscall arguments.
__SYSCALL_WORDSIZE64intWord size in bits used for kernel syscall arguments (64 here).
__THROW__attribute__ ((__nothrow__ , __leaf__))macroglibc annotation marking a function non-throwing (nothrow + leaf) for C+.
__THROWNL__attribute__ ((__nothrow__))macroglibc annotation marking a function non-throwing (nothrow) for C+.
__TIME64_T_TYPElong intmacroglibc-internal underlying type used for the 64-bit time_t ABI.
__TIMER_T_TYPEvoid *macroglibc-internal underlying type for the public timer_t typedef.
__TIMESIZE64intBit width of time_t on this target (64 = 64-bit time).
__TIME_T_TYPElong intmacroglibc-internal underlying type for the public time_t typedef.
__U16_TYPEunsigned short intmacroglibc-internal type for the unsigned 16-bit kernel ABI integer.
__U32_TYPEunsigned intmacroglibc-internal type for the unsigned 32-bit kernel ABI integer.
__U64_TYPEunsigned long intmacroglibc-internal type for the unsigned 64-bit kernel ABI integer.
__UID_T_TYPEunsigned intmacroglibc-internal underlying type for the public uid_t typedef.
__UINT16_MAX__0xffffintMaximum value representable by the unsigned 16-bit uint16_t type.
__UINT16_TYPE__short unsigned intmacroGCC predefined backing type for the unsigned 16-bit uint16_t type.
__UINT32_MAX__0xffffffffUunsigned intMaximum value representable by the unsigned 32-bit uint32_t type.
__UINT32_TYPE__unsigned intmacroGCC predefined backing type for the unsigned 32-bit uint32_t type.
__UINT64_MAX__0xffffffffffffffffULunsigned longMaximum value representable by the unsigned 64-bit uint64_t type.
__UINT64_TYPE__long unsigned intmacroGCC predefined backing type for the unsigned 64-bit uint64_t type.
__UINT8_MAX__0xffintMaximum value representable by the unsigned 8-bit uint8_t type.
__UINT8_TYPE__unsigned charmacroGCC predefined backing type for the unsigned 8-bit uint8_t type.
__UINTMAX_MAX__0xffffffffffffffffULunsigned longMaximum value representable by uintmax_t.
__UINTMAX_TYPE__long unsigned intmacroGCC predefined backing type for uintmax_t (unsigned long).
__UINTPTR_MAX__0xffffffffffffffffULunsigned longMaximum value representable by uintptr_t.
__UINTPTR_TYPE__long unsigned intmacroGCC predefined backing type for uintptr_t (unsigned long).
__UINT_FAST16_MAX__0xffffffffffffffffULunsigned longMaximum value representable by uint_fast16_t.
__UINT_FAST16_TYPE__long unsigned intmacroGCC predefined backing type for uint_fast16_t.
__UINT_FAST32_MAX__0xffffffffffffffffULunsigned longMaximum value representable by uint_fast32_t.
__UINT_FAST32_TYPE__long unsigned intmacroGCC predefined backing type for uint_fast32_t.
__UINT_FAST64_MAX__0xffffffffffffffffULunsigned longMaximum value representable by uint_fast64_t.
__UINT_FAST64_TYPE__long unsigned intmacroGCC predefined backing type for uint_fast64_t.
__UINT_FAST8_MAX__0xffintMaximum value representable by uint_fast8_t.
__UINT_FAST8_TYPE__unsigned charmacroGCC predefined backing type for uint_fast8_t.
__UINT_LEAST16_MAX__0xffffintMaximum value representable by uint_least16_t.
__UINT_LEAST16_TYPE__short unsigned intmacroGCC predefined backing type for uint_least16_t.
__UINT_LEAST32_MAX__0xffffffffUunsigned intMaximum value representable by uint_least32_t.
__UINT_LEAST32_TYPE__unsigned intmacroGCC predefined backing type for uint_least32_t.
__UINT_LEAST64_MAX__0xffffffffffffffffULunsigned longMaximum value representable by uint_least64_t.
__UINT_LEAST64_TYPE__long unsigned intmacroGCC predefined backing type for uint_least64_t.
__UINT_LEAST8_MAX__0xffintMaximum value representable by uint_least8_t.
__UINT_LEAST8_TYPE__unsigned charmacroGCC predefined backing type for uint_least8_t.
__ULONG32_TYPEunsigned intmacroglibc-internal 32-bit unsigned int type when long is wider.
__ULONGWORD_TYPEunsigned long intmacroglibc-internal unsigned long-word kernel ABI integer.
__UQUAD_TYPEunsigned long intmacroglibc-internal unsigned 64-bit (“uquad”) kernel ABI integer.
__USECONDS_T_TYPEunsigned intmacroglibc-internal underlying type for the public useconds_t typedef.
__USER_LABEL_PREFIX__“macroPrefix prepended to C symbols in assembly output (empty on x86-64).
__USE_ATFILE1intglibc flag exposing the at() family and AT_ flag constants.
__USE_FORTIFY_LEVEL0intglibc _FORTIFY_SOURCE hardening level (0 = fortification disabled).
__USE_ISOC111intglibc feature flag exposing ISO C 2011 declarations.
__USE_ISOC951intglibc feature flag exposing ISO C 1995 amendment declarations.
__USE_ISOC991intglibc feature flag exposing ISO C99 declarations.
__USE_MISC1intglibc flag exposing the default BSD/MISC (non-ISO) interfaces.
__USE_POSIX1intglibc flag exposing the POSIX.1 (1990) interfaces.
__USE_POSIX1993091intglibc flag exposing the POSIX.1-1993 (realtime) interfaces.
__USE_POSIX1995061intglibc flag exposing the POSIX.1-1995 (threads) interfaces.
__USE_POSIX21intglibc flag exposing the POSIX.2 (shell/utilities) interfaces.
__USE_POSIX_IMPLICITLY1intglibc flag set when the POSIX interfaces were implicitly enabled.
__USE_TIME_BITS641intglibc flag enabling a 64-bit time_t ABI (Y2038-safe) on this target.
__USE_XOPEN2K1intglibc flag exposing the XPG4.2/Unix98 (POSIX.1-2001) interfaces.
__USE_XOPEN2K241intglibc flag exposing the POSIX.1-2024 interfaces.
__USE_XOPEN2K81intglibc flag exposing the POSIX.1-2008 interfaces.
__UWORD_TYPEunsigned long intmacroglibc-internal unsigned machine-word kernel ABI integer.
__VERSION__16.2.1 20260810macroString identifying the compiler version (GCC x.y.z).
__WCHAR_MAX__0x7fffffffintMaximum value representable by wchar_t.
__WCHAR_MIN__(-0x7fffffff - 1)intMinimum value representable by wchar_t.
__WCHAR_TYPE__intmacroGCC predefined backing type for wchar_t (int on Linux).
__WCHAR_WIDTH__32intBit width of wchar_t (32).
__WINT_MAX__0xffffffffUunsigned intMaximum value representable by wint_t.
__WINT_MIN__0Uunsigned intMinimum value representable by wint_t.
__WINT_TYPE__unsigned intmacroGCC predefined backing type for wint_t (unsigned int).
__WINT_WIDTH__32intBit width of wint_t (32).
__WORDSIZE64intSize in bits of the platform word (64 for x86-64).
__WORDSIZE_TIME64_COMPAT321intDefines to 1 when the 64-bit time_t ABI is the default compatibility ABI.
____sigset_t_defined“macroglibc-internal guard marking that __sigset_t has been defined (typedef).
___int_size_t_h“macroLegacy header guard for the older size_t definition.
__always_inline__inline __attribute__ ((__always_inline__))macroalways_inline attribute forcing inlining at every call site.
__amd641intDefines to 1 when compiling for the 64-bit x86-64 architecture.
__amd64__1intDefines to 1 when compiling for the 64-bit x86-64 architecture.
__attr_dealloc_free__attribute__ ((__malloc__ (__builtin_free, 1)))macroglibc wrapper marking the function result as dealloc-able by free().
__attribute_artificial____attribute__ ((__artificial__))macroglibc wrapper around the GCC attribute ((artificial)) declaration specifier.
__attribute_const____attribute__ ((__const__))macroglibc wrapper around the GCC attribute ((const)) declaration specifier.
__attribute_deprecated____attribute__ ((__deprecated__))macroglibc wrapper around the GCC attribute ((deprecated)) declaration specifier.
__attribute_malloc____attribute__ ((__malloc__))macroglibc wrapper around the GCC attribute ((malloc)) declaration specifier.
__attribute_maybe_unused____attribute__ ((__unused__))macroglibc wrapper around the GCC attribute ((maybe-unused)) declaration specifier.
__attribute_noinline____attribute__ ((__noinline__))macroglibc wrapper around the GCC attribute ((noinline)) declaration specifier.
__attribute_nonstring____attribute__ ((__nonstring__))macroglibc wrapper around the GCC attribute ((nonstring)) declaration specifier.
__attribute_overloadable__“macroglibc wrapper around the GCC attribute ((overloadable)) declaration specifier.
__attribute_pure____attribute__ ((__pure__))macroglibc wrapper around the GCC attribute ((pure)) declaration specifier.
__attribute_returns_twice____attribute__ ((__returns_twice__))macroglibc wrapper around the GCC attribute ((returns-twice)) declaration specifier.
__attribute_struct_may_alias____attribute__ ((__may_alias__))macroglibc wrapper around the GCC attribute ((struct-may-alias)) declaration specifier.
__attribute_used____attribute__ ((__used__))macroglibc wrapper around the GCC attribute ((used)) declaration specifier.
__attribute_warn_unused_result____attribute__ ((__warn_unused_result__))macroglibc wrapper around the GCC attribute ((warn-unused-result)) declaration specifier.
__blkcnt_t_defined“macroglibc-internal guard marking that blkcnt_t has been defined (typedef).
__blksize_t_defined“macroglibc-internal guard marking that blksize_t has been defined (typedef).
__clock_t_defined1intglibc-internal guard marking that clock_t has been defined (typedef).
__clockid_t_defined1intglibc-internal guard marking that clockid_t has been defined (typedef).
__code_model_small__1intDefines to 1 when GCC uses the small x86 code model.
__daddr_t_defined“macroglibc-internal guard marking that daddr_t has been defined (typedef).
__dev_t_defined“macroglibc-internal guard marking that dev_t has been defined (typedef).
__extern_always_inlineextern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__))macroalways_inline plus gnu_inline semantics for glibc external inline functions.
__extern_inlineextern __inline __attribute__ ((__gnu_inline__))macrognu_inline semantics marking an external inline function.
__flexarr[]macroexpands to [] for a C99 flexible array member, or [0] on pre-C99 compilers.
__fortify_functionextern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__))macroglibc macro declaring a fortified function as always-inline and artificial.
__fsblkcnt_t_defined“macroglibc-internal guard marking that fsblkcnt_t has been defined (typedef).
__fsfilcnt_t_defined“macroglibc-internal guard marking that fsfilcnt_t has been defined (typedef).
__gid_t_defined“macroglibc-internal guard marking that gid_t has been defined (typedef).
__glibc_c99_flexarr_available1intDefines to 1 when C99 flexible array members are available.
__gnu_linux__1intDefines to 1 when targeting glibc-based GNU/Linux.
__have_pthread_attr_t1intglibc-internal guard marking that pthread_attr_t has been defined (typedef).
__id_t_defined“macroglibc-internal guard marking that id_t has been defined (typedef).
__ino_t_defined“macroglibc-internal guard marking that ino_t has been defined (typedef).
__iovec_defined1intglibc-internal guard marking that iovec has been defined (typedef).
__k81intDefines to 1 when targeting the AMD K8 (x86-64) architecture.
__k8__1intDefines to 1 when targeting the AMD K8 (x86-64) architecture.
__kernel_nonstring“macrokernel UAPI helper marking a non-NUL-terminated char array.
__kernel_old_dev_t__kernel_old_dev_tmacrokernel UAPI legacy 16-bit device number type (replaced by dev_t).
__kernel_old_uid_t__kernel_old_uid_tmacrokernel UAPI legacy 16-bit user id type (now uid_t).
__key_t_defined“macroglibc-internal guard marking that key_t has been defined (typedef).
__linux1intDefines to 1 when the host operating system is Linux.
__linux__1intDefines to 1 when the host operating system is Linux.
__mode_t_defined“macroglibc-internal guard marking that mode_t has been defined (typedef).
__nlink_t_defined“macroglibc-internal guard marking that nlink_t has been defined (typedef).
__off_t_defined“macroglibc-internal guard marking that off_t has been defined (typedef).
__osockaddr_defined1intglibc-internal guard marking that osockaddr has been defined (typedef).
__pic__2intDefines to 2 when position-independent code (PIC) is being generated.
__pid_t_defined“macroglibc-internal guard marking that pid_t has been defined (typedef).
__pie__2intDefines to 2 when compiling a position-independent executable.
__ptr_tvoid *macroglibc-internal generic pointer typedef, an alias for void *.
__restrict_arr__restrictmacrorestrict qualifier applied to array parameters for C99.
__returns_nonnull__attribute__ ((__returns_nonnull__))macroGCC returns_nonnull attribute asserting the return value is non-NULL.
__sigset_t_defined1intglibc-internal guard marking that sigset_t has been defined (typedef).
__size_t“macroglibc-internal size_t definition guard preventing duplicate typedefs.
__size_t__“macroglibc-internal size_t definition guard preventing duplicate typedefs.
__socklen_t_defined“macroglibc-internal guard marking that socklen_t has been defined (typedef).
__ss_aligntypeunsigned long intmacroglibc-internal type aligning sockaddr_storage padding to the machine word.
__ssize_t_defined“macroglibc-internal guard marking that ssize_t has been defined (typedef).
__stub___compat_bdflush“macroMarks __compat_bdflush() as a glibc stub: the function does not exist on this system.
__stub_chflags“macroMarks chflags() as a glibc stub: the function does not exist on this system.
__stub_fchflags“macroMarks fchflags() as a glibc stub: the function does not exist on this system.
__stub_gtty“macroMarks gtty() as a glibc stub: the function does not exist on this system.
__stub_revoke“macroMarks revoke() as a glibc stub: the function does not exist on this system.
__stub_setlogin“macroMarks setlogin() as a glibc stub: the function does not exist on this system.
__stub_sigreturn“macroMarks sigreturn() as a glibc stub: the function does not exist on this system.
__stub_stty“macroMarks stty() as a glibc stub: the function does not exist on this system.
__suseconds_t_defined“macroglibc-internal guard marking that suseconds_t has been defined (typedef).
__time_t_defined1intglibc-internal guard marking that time_t has been defined (typedef).
__timer_t_defined1intglibc-internal guard marking that timer_t has been defined (typedef).
__timeval_defined1intglibc-internal guard marking that timeval has been defined (typedef).
__u_char_defined“macroglibc-internal guard marking that u_char has been defined (typedef).
__uid_t_defined“macroglibc-internal guard marking that uid_t has been defined (typedef).
__unix1intDefines to 1 when the host operating system is Unix-like.
__unix__1intDefines to 1 when the host operating system is Unix-like.
__wur“macroglibc-internal warn-unused-result attribute (active under fortify).
__x86_641intDefines to 1 when compiling for the 64-bit x86-64 architecture.
__x86_64__1intDefines to 1 when compiling for the 64-bit x86-64 architecture.
linux1intDefines to 1 when the host operating system is Linux (non-ISO context).
unix1intDefines to 1 when the host operating system is Unix-like (non-ISO context).

Network Protocols

Packet-level protocol families such as X.25, ATM, CAN, Bluetooth, IEEE 802.15.4, IPsec key management, and the raw-packet API (PF_PACKET, PF_MAX). Rows come from the Linux UAPI header <linux/socket.h>.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
IN6ADDR_ANY_INIT{ { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }macroCompile-time initializer for an in6_addr representing the IPv6 unspecified address ::.
IN6ADDR_LOOPBACK_INIT{ { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }macroCompile-time initializer for an in6_addr representing the IPv6 loopback ::1.
INADDR_ALLHOSTS_GROUP((in_addr_t) 0xe0000001)intIPv4 all-hosts multicast group 224.0.0.1 for local subnet delivery.
INADDR_ALLRTRS_GROUP((in_addr_t) 0xe0000002)intIPv4 all-routers multicast group 224.0.0.2.
INADDR_ALLSNOOPERS_GROUP((in_addr_t) 0xe000006a)intIPv4 IGMP snooping multicast group 224.0.0.106.
INADDR_ANY((in_addr_t) 0x00000000)intIPv4 wildcard address 0.0.0.0; binds to all local interfaces.
INADDR_BROADCAST((in_addr_t) 0xffffffff)intIPv4 limited broadcast address 255.255.255.255.
INADDR_DUMMY((in_addr_t) 0xc0000008)intReserved IPv4 address 192.0.0.8 (IANA special-use).
INADDR_LOOPBACK((in_addr_t) 0x7f000001)intIPv4 loopback address 127.0.0.1 identifying the local host.
INADDR_MAX_LOCAL_GROUP((in_addr_t) 0xe00000ff)intHighest local multicast group address 224.0.0.255 (link-local bound).
INADDR_NONE((in_addr_t) 0xffffffff)intIPv4 sentinel 255.255.255.255 used to signal an invalid address lookup.
INADDR_UNSPEC_GROUP((in_addr_t) 0xe0000000)intIPv4 unspecified multicast group address 224.0.0.0.
INET6_ADDRSTRLEN46intBuffer size in bytes required to hold a printable IPv6 address string.
INET_ADDRSTRLEN16intBuffer size in bytes required to hold a printable IPv4 dotted-quad string.
IN_CLASSA_HOST(0xffffffff & ~0xff000000)intNetmask bits of a class-A address masked to the host portion.
IN_CLASSA_MAX128intMaximum first byte value (128) that identifies a class-A network.
IN_CLASSA_NET0xff000000intNetmask 0xff000000 covering the class-A network portion.
IN_CLASSA_NSHIFT24intNumber of shift bits (24) from a class-A network byte to host bits.
IN_CLASSB_HOST(0xffffffff & ~0xffff0000)intNetmask bits of a class-B address masked to the host portion.
IN_CLASSB_MAX65536intMaximum number (65536) of class-B network-number combinations.
IN_CLASSB_NET0xffff0000intNetmask 0xffff0000 covering the class-B network portion.
IN_CLASSB_NSHIFT16intNumber of shift bits (16) from a class-B network word to host bits.
IN_CLASSC_HOST(0xffffffff & ~0xffffff00)intNetmask bits of a class-C address masked to the host portion.
IN_CLASSC_NET0xffffff00intNetmask 0xffffff00 covering the class-C network portion.
IN_CLASSC_NSHIFT8intNumber of shift bits (8) from a class-C network triple to host bits.
IN_LOOPBACKNET127intThe 127 network used for IPv4 loopback addressing.
IPPROTO_AGGFRAG144intIP protocol number 144 for AGGFRAG encapsulation.
IPPROTO_AH51intIP protocol number 51 for the Authentication Header (IPsec).
IPPROTO_BEETPH94intIP protocol number 94 for IPsec BEET (Bound End-to-End Tunnel).
IPPROTO_COMP108intIP protocol number 108 for IP Payload Compression.
IPPROTO_DCCP33intIP protocol number 33 for the Datagram Congestion Control Protocol.
IPPROTO_DSTOPTS60intIP protocol number 60 for IPv6 destination options header.
IPPROTO_EGP8intIP protocol number 8 for the Exterior Gateway Protocol.
IPPROTO_ENCAP98intIP protocol number 98 for IP encapsulation (RFC 2003).
IPPROTO_ESP50intIP protocol number 50 for Encapsulating Security Payload (IPsec).
IPPROTO_ETHERNET143intIP protocol number 143 for Ethernet-in-IP encapsulation.
IPPROTO_FRAGMENT44intIP protocol number 44 for the IPv6 fragmentation header.
IPPROTO_GRE47intIP protocol number 47 for Generic Routing Encapsulation.
IPPROTO_HOPOPTS0intIP protocol number 0 for the IPv6 hop-by-hop options header.
IPPROTO_ICMP1intIP protocol number 1 for Internet Control Message Protocol.
IPPROTO_ICMPV658intIP protocol number 58 for ICMP version 6.
IPPROTO_IDP22intIP protocol number 22 for the XNS IDP protocol.
IPPROTO_IGMP2intIP protocol number 2 for the Internet Group Management Protocol.
IPPROTO_IP0intIP protocol number 0; also the protocol value selecting the IP layer.
IPPROTO_IPIP4intIP protocol number 4 for IP-in-IP encapsulation.
IPPROTO_IPV641intIP protocol number 41 for IPv6-in-IPv4 encapsulation.
IPPROTO_L2TP115intIP protocol number 115 for Layer Two Tunnelling Protocol.
IPPROTO_MH135intIP protocol number 135 for the IPv6 mobility header.
IPPROTO_MPLS137intIP protocol number 137 for MPLS-in-IP encapsulation.
IPPROTO_MPTCP262intIP protocol number 262 for the Multipath TCP option.
IPPROTO_MTP92intIP protocol number 92 for the Multicast Transport Protocol.
IPPROTO_NONE59intIP protocol number 59 for the IPv6 no-next-header indication.
IPPROTO_PIM103intIP protocol number 103 for Protocol Independent Multicast.
IPPROTO_PUP12intIP protocol number 12 for the PARC Universal Packet protocol.
IPPROTO_RAW255intIP protocol number 255 selecting raw-IP sockets with no protocol demultiplex.
IPPROTO_ROUTING43intIP protocol number 43 for the IPv6 routing header.
IPPROTO_RSVP46intIP protocol number 46 for the Resource Reservation Protocol.
IPPROTO_SCTP132intIP protocol number 132 for the Stream Control Transmission Protocol.
IPPROTO_SMC256intIP protocol number 256 for Shared Memory Communications-over-IP.
IPPROTO_TCP6intIP protocol number 6 for the Transmission Control Protocol.
IPPROTO_TP29intIP protocol number 29 for the ISO TP-4 transport protocol.
IPPROTO_UDP17intIP protocol number 17 for the User Datagram Protocol.
IPPROTO_UDPLITE136intIP protocol number 136 for the UDP-Lite (partial checksum) protocol.
IPV6_2292DSTOPTS4intsetsockopt() option configuring RFC 2292 destination options.
IPV6_2292HOPLIMIT8intsetsockopt() option configuring RFC 2292 hop-limit handling.
IPV6_2292HOPOPTS3intsetsockopt() option configuring RFC 2292 hop-by-hop options.
IPV6_2292PKTINFO2intsetsockopt() option controlling RFC 2292 packet-info delivery.
IPV6_2292PKTOPTIONS6intsetsockopt() option for the obsolete RFC 2292 packet options API.
IPV6_2292RTHDR5intsetsockopt() option configuring RFC 2292 routing-header handling.
IPV6_ADDRFORM1intsetsockopt() option converting the socket address family between IPv4/IPv6.
IPV6_ADDR_PREFERENCES72intsetsockopt() option choosing IPv4-mapped or native IPv6 addressing.
IPV6_ADD_MEMBERSHIP20intsetsockopt() option joining an IPv6 multicast group.
IPV6_AUTHHDR10intsetsockopt() option configuring the IPv6 authentication header.
IPV6_AUTOFLOWLABEL70intsetsockopt() option enabling automatic flow-label generation.
IPV6_CHECKSUM7intsetsockopt() option specifying the checksum offset for raw IPv6 sockets.
IPV6_DONTFRAG62intsetsockopt() option disabling IPv6 fragmentation of outgoing packets.
IPV6_DROP_MEMBERSHIP21intsetsockopt() option leaving a previously joined IPv6 multicast group.
IPV6_DSTOPTS59intsetsockopt() option setting/receiving IPv6 destination options.
IPV6_FREEBIND78intsetsockopt() option allowing binding to a non-local IPv6 address.
IPV6_HDRINCL36intsetsockopt() option making raw sockets include/supply the IPv6 header.
IPV6_HOPLIMIT52intsetsockopt() option getting/setting the IPv6 hop-limit on received/sent packets.
IPV6_HOPOPTS54intsetsockopt() option setting/receiving IPv6 hop-by-hop options.
IPV6_IPSEC_POLICY34intsetsockopt() option attaching an IPsec policy to IPv6 sockets.
IPV6_JOIN_ANYCAST27intsetsockopt() option joining an IPv6 anycast group.
IPV6_JOIN_GROUP20intsetsockopt() option joining an IPv6 multicast group (alias of IPV6_ADD_MEMBERSHIP).
IPV6_LEAVE_ANYCAST28intsetsockopt() option leaving an IPv6 anycast group.
IPV6_LEAVE_GROUP21intsetsockopt() option leaving an IPv6 multicast group (alias of IPV6_DROP_MEMBERSHIP).
IPV6_MINHOPCOUNT73intsetsockopt() option discarding packets whose hop count is below a minimum.
IPV6_MTU24intgetsockopt() option returning the current effective IPv6 path MTU.
IPV6_MTU_DISCOVER23intsetsockopt() option selecting IPv6 path MTU discovery behavior.
IPV6_MULTICAST_ALL29intsetsockopt() option disabling delivery of packets from other members.
IPV6_MULTICAST_HOPS18intsetsockopt() option setting the hop-limit on outgoing IPv6 multicast.
IPV6_MULTICAST_IF17intsetsockopt() option selecting the interface index for IPv6 multicast.
IPV6_MULTICAST_LOOP19intsetsockopt() option enabling/disabling loopback of local multicast.
IPV6_NEXTHOP9intsetsockopt() option specifying the next-hop address for outgoing packets.
IPV6_ORIGDSTADDR74intsetsockopt() option enabling delivery of the original destination address.
IPV6_PATHMTU61intsetsockopt() option enabling periodic path-MTU updates for the socket.
IPV6_PKTINFO50intsetsockopt() option enabling delivery of an ipv6_pktinfo cmsg on receive.
IPV6_PMTUDISC_DO2intPMTU-discovery mode always performing path MTU discovery.
IPV6_PMTUDISC_DONT0intPMTU-discovery mode never performing (sending fragmented) via this socket.
IPV6_PMTUDISC_INTERFACE4intPMTU-discovery mode 4: perform discovery per outgoing interface only.
IPV6_PMTUDISC_OMIT5intPMTU-discovery mode omitting this socket from PMTU accounting.
IPV6_PMTUDISC_PROBE3intPMTU-discovery mode allowing larger-than-path-MTU probes.
IPV6_PMTUDISC_WANT1intPMTU-discovery mode performing discovery except when the packet is fragmented.
IPV6_RECVDSTOPTS58intsetsockopt() option enabling receive of IPv6 destination options as cmsg.
IPV6_RECVERR25intsetsockopt() option enabling IPv6 error-queue reporting via IPV6_RECVERR.
IPV6_RECVERR_RFC488431intsetsockopt() option turning on extended RFC 4884 error payloads.
IPV6_RECVFRAGSIZE77intsetsockopt() option enabling delivery of the IPv6 fragment size as cmsg.
IPV6_RECVHOPLIMIT51intsetsockopt() option enabling delivery of the hop limit as ancillary data.
IPV6_RECVHOPOPTS53intsetsockopt() option enabling receive of IPv6 hop-by-hop options.
IPV6_RECVORIGDSTADDR74intsetsockopt() option enabling the original destination address on receive.
IPV6_RECVPATHMTU60intsetsockopt() option enabling receive of the current path MTU as cmsg.
IPV6_RECVPKTINFO49intsetsockopt() option enabling delivery of ipv6_pktinfo as ancillary data.
IPV6_RECVRTHDR56intsetsockopt() option enabling receive of the IPv6 routing header.
IPV6_RECVTCLASS66intsetsockopt() option enabling delivery of the IPv6 traffic class as cmsg.
IPV6_ROUTER_ALERT22intsetsockopt() option inserting an IPv6 router-alert option in packets.
IPV6_ROUTER_ALERT_ISOLATE30intsetsockopt() option isolating the router-alert to specific packets.
IPV6_RTHDR57intsetsockopt() option attaching an IPv6 routing header to outgoing packets.
IPV6_RTHDRDSTOPTS55intsetsockopt() option attaching destination options after the routing header.
IPV6_RTHDR_LOOSE0intRouting-header segment flag meaning the router may be non-adjacent.
IPV6_RTHDR_STRICT1intRouting-header segment flag meaning the router must be directly adjacent.
IPV6_RTHDR_TYPE_00intType 0 IPv6 routing header (deprecated by RFC 5095).
IPV6_RXDSTOPTS59intsetsockopt() option enabling receive of IPv6 destination options.
IPV6_RXHOPOPTS54intsetsockopt() option enabling receive of IPv6 hop-by-hop options.
IPV6_TCLASS67intsetsockopt() option setting the IPv6 traffic class of outgoing packets.
IPV6_TRANSPARENT75intsetsockopt() option allowing binding to any address without ownership (needs CAP_NET_RAW).
IPV6_UNICAST_HOPS16intsetsockopt() option setting the hop-limit for outgoing unicast IPv6.
IPV6_UNICAST_IF76intsetsockopt() option pinning unicast transmission to a given interface.
IPV6_V6ONLY26intsetsockopt() option restricting a dual-stack socket to IPv6 only.
IPV6_XFRM_POLICY35intsetsockopt() option attaching an XFRM (IPsec) negotiation policy.
IP_ADD_MEMBERSHIP35intsetsockopt() option joining an IPv4 multicast group.
IP_ADD_SOURCE_MEMBERSHIP39intsetsockopt() option joining an IPv4 multicast group from a specific source.
IP_BIND_ADDRESS_NO_PORT24intsetsockopt() option deferring ephemeral-port allocation until connect().
IP_BLOCK_SOURCE38intsetsockopt() option blocking multicast delivery from a given source.
IP_CHECKSUM23intsetsockopt() option setting the checksum offset for raw IPv4 sockets.
IP_DEFAULT_MULTICAST_LOOP1intDefault (1) deciding whether local multicast is looped back.
IP_DEFAULT_MULTICAST_TTL1intDefault (1) hop count used for outgoing IPv4 multicast.
IP_DROP_MEMBERSHIP36intsetsockopt() option leaving a previously joined IPv4 multicast group.
IP_DROP_SOURCE_MEMBERSHIP40intsetsockopt() option leaving a source-specific IPv4 multicast group.
IP_FREEBIND15intsetsockopt() option allowing binding to an address not assigned to the system.
IP_HDRINCL3intsetsockopt() option making raw IPv4 sockets include the IP header in the buffer.
IP_IPSEC_POLICY16intsetsockopt() option attaching an IPsec policy to IPv4 sockets.
IP_LOCAL_PORT_RANGE51intsetsockopt() option constraining the local ephemeral port range.
IP_MAX_MEMBERSHIPS20intMaximum number of IPv4 multicast groups a socket may join.
IP_MINTTL21intsetsockopt() option discarding packets whose IPv4 TTL is below the given value.
IP_MSFILTER41intsetsockopt() option applying a full source-filter list for multicast.
IP_MTU14intgetsockopt() option returning the current IPv4 path MTU.
IP_MTU_DISCOVER10intsetsockopt() option selecting IPv4 path MTU discovery behavior.
IP_MULTICAST_ALL49intsetsockopt() option disabling receipt of other members’ multicast packets.
IP_MULTICAST_IF32intsetsockopt() option selecting the local interface for outgoing multicast.
IP_MULTICAST_LOOP34intsetsockopt() option enabling/disabling loopback of local multicast.
IP_MULTICAST_TTL33intsetsockopt() option setting the TTL for outgoing IPv4 multicast.
IP_NODEFRAG22intsetsockopt() option passing already-fragmented packets without defragmentation.
IP_OPTIONS4intsetsockopt() option setting IPv4 header options for outgoing packets.
IP_ORIGDSTADDR20intsetsockopt() option enabling delivery of the original destination address.
IP_PASSSEC18intsetsockopt() option receiving the security label of received packets.
IP_PKTINFO8intsetsockopt() option enabling delivery of an in_pktinfo cmsg on receive.
IP_PKTOPTIONS9intsetsockopt() option setting/deferring IPv4 packet options delivery.
IP_PMTUDISC10intsetsockopt() option controlling IPv4 PMTU discovery (alias of IP_MTU_DISCOVER).
IP_PMTUDISC_DO2intPMTU-discovery mode always performing path MTU discovery.
IP_PMTUDISC_DONT0intPMTU-discovery mode never performing path MTU discovery.
IP_PMTUDISC_INTERFACE4intPMTU-discovery mode performing discovery per outgoing interface only.
IP_PMTUDISC_OMIT5intPMTU-discovery mode omitting this socket from PMTU accounting.
IP_PMTUDISC_PROBE3intPMTU-discovery mode allowing probes beyond the discovered path MTU.
IP_PMTUDISC_WANT1intPMTU-discovery mode performing discovery unless the packet is fragmented.
IP_PROTOCOL52intgetsockopt() option returning the IPv4 protocol number of the socket.
IP_RECVERR11intsetsockopt() option enabling IPv4 error-queue reporting for the socket.
IP_RECVERR_RFC488426intsetsockopt() option turning on extended RFC 4884 error payloads.
IP_RECVFRAGSIZE25intsetsockopt() option enabling delivery of the fragment size as cmsg.
IP_RECVOPTS6intsetsockopt() option enabling receive of IPv4 header options as ancillary data.
IP_RECVORIGDSTADDR20intsetsockopt() option enabling receipt of the original destination address.
IP_RECVRETOPTS7intsetsockopt() option returning IPv4 options even when IP_OPTIONS is unset.
IP_RECVTOS13intsetsockopt() option enabling delivery of the IPv4 TOS byte as cmsg.
IP_RECVTTL12intsetsockopt() option enabling delivery of the IPv4 TTL as cmsg.
IP_RETOPTS7intsetsockopt() option making IPv4 options visible on received packets.
IP_ROUTER_ALERT5intsetsockopt() option inserting the IPv4 router-alert option in packets.
IP_TOS1intsetsockopt() option setting the IPv4 type-of-service byte.
IP_TRANSPARENT19intsetsockopt() option allowing binding to any address without ownership (needs CAP_NET_RAW).
IP_TTL2intsetsockopt() option setting the time-to-live for outgoing IPv4 packets.
IP_UNBLOCK_SOURCE37intsetsockopt() option re-enabling multicast delivery from a blocked source.
IP_UNICAST_IF50intsetsockopt() option pinning unicast transmission to a given interface.
IP_XFRM_POLICY17intsetsockopt() option attaching an XFRM (IPsec) negotiation policy.
MCAST_BLOCK_SOURCE43intsetsockopt() option blocking multicast delivery from a given source.
MCAST_EXCLUDE0intMulticast source-filter mode excluding the listed sources.
MCAST_INCLUDE1intMulticast source-filter mode including only the listed sources.
MCAST_JOIN_GROUP42intsetsockopt() option joining an IPv4/IPv6 multicast group (group_req).
MCAST_JOIN_SOURCE_GROUP46intsetsockopt() option joining a multicast group from a specific source.
MCAST_LEAVE_GROUP45intsetsockopt() option leaving a multicast group (group_req structure).
MCAST_LEAVE_SOURCE_GROUP47intsetsockopt() option leaving a source-specific multicast group.
MCAST_MSFILTER48intsetsockopt() option applying a full source-filter list for multicast.
MCAST_UNBLOCK_SOURCE44intsetsockopt() option re-enabling multicast delivery from a blocked source.
SCM_SRCRTIPV6_RXSRCRTmacrocmsg_type alias for IPV6_RXSRCRT carrying a received IPv6 routing header.
SOL_ICMPV658intsetsockopt() level addressing raw-ICMPv6 socket options.
SOL_IP0intsetsockopt()/getsockopt() level for IPv4 protocol options.
SOL_IPV641intsetsockopt()/getsockopt() level for IPv6 protocol options.
_ARPA_INET_H1intInclude guard for the glibc <arpa/inet.h> header (inet_ntop, inet_pton).
_BITS_STDINT_UINTN_H1intInclude guard for glibc <bits/stdint-uintn.h> (fixed-width unsigned types).
_NETINET_IN_H1intInclude guard for glibc <netinet/in.h> (IPv4/IPv6 address structures).
__USE_KERNEL_IPV6_DEFS0intglibc internal flag; when 1 the kernel netinet6 definitions are reused.
s6_addr__in6_u.__u6_addr8macroByte-array view (union member) of an in6_addr address storage.
s6_addr16__in6_u.__u6_addr16macro16-bit word view (union member) of an in6_addr address storage.
s6_addr32__in6_u.__u6_addr32macro32-bit word view (union member) of an in6_addr address storage.

System Primitives

Named parameters for sysconf(), confstr(), and pathconf() (_SC_*, _CS_*, _PC_*), plus per-process configuration symbols (_POSIX_*, PHYS*). Rows come from <unistd.h>, <bits/confname.h>, and <malloc.h>.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
F_LOCK1intlockf() command locking a byte range; blocks until the lock is granted.
F_OK0intMode passed to access() to test whether the file exists.
F_TEST3intlockf() command testing whether a byte range is locked, without acquiring it.
F_TLOCK2intlockf() command trying to lock a byte range, failing rather than blocking.
F_ULOCK0intlockf() command unlocking the previously locked byte range.
L_INCR1intBSD alias for SEEK_CUR; lseek() origin relative to the current position.
L_SET0intBSD alias for SEEK_SET; lseek() origin relative to the file start.
L_XTND2intBSD alias for SEEK_END; lseek() origin relative to the file end.
NULL((void *)0)void *The generic null-pointer constant used to represent a null pointer value.
R_OK4intMode passed to access() to test whether the file is readable.
SEEK_CUR1intOrigin passed to lseek() offsetting from the current file position.
SEEK_END2intOrigin passed to lseek() offsetting from the end of the file.
SEEK_SET0intOrigin passed to lseek() offsetting from the beginning of the file.
STDERR_FILENO2intFile descriptor number (2) for the standard error stream.
STDIN_FILENO0intFile descriptor number (0) for the standard input stream.
STDOUT_FILENO1intFile descriptor number (1) for the standard output stream.
W_OK2intMode passed to access() to test whether the file is writable.
X_OK1intMode passed to access() to test whether the file is executable.
_BITS_POSIX_OPT_H1intInclude guard for glibc <bits/posix_opt.h> POSIX option macros.
_CS_GNU_LIBC_VERSION2intName passed to confstr() to query the running glibc version string.
_CS_GNU_LIBPTHREAD_VERSION3intName passed to confstr() to query the NPTL pthread version string.
_CS_LFS64_CFLAGS1004intconfstr() name querying compiler flags for the 64-bit LFS environment.
_CS_LFS64_LDFLAGS1005intconfstr() name querying linker flags for the 64-bit LFS environment.
_CS_LFS64_LIBS1006intconfstr() name querying libraries for the 64-bit LFS environment.
_CS_LFS64_LINTFLAGS1007intconfstr() name querying lint flags for the 64-bit LFS environment.
_CS_LFS_CFLAGS1000intconfstr() name querying compiler flags for the LFS environment.
_CS_LFS_LDFLAGS1001intconfstr() name querying linker flags for the LFS environment.
_CS_LFS_LIBS1002intconfstr() name querying additional libraries for the LFS environment.
_CS_LFS_LINTFLAGS1003intconfstr() name querying lint flags for the LFS environment.
_CS_PATH0intconfstr() name returning the PATH used to find standard utilities.
_CS_POSIX_V5_WIDTH_RESTRICTED_ENVS_CS_V5_WIDTH_RESTRICTED_ENVSmacroconfstr() alias for the V5 width-restricted environment query.
_CS_POSIX_V6_ILP32_OFF32_CFLAGS1116intconfstr() name for the POSIX V6 ILP32/off32 compiler flags.
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS1117intconfstr() name for the POSIX V6 ILP32/off32 linker flags.
_CS_POSIX_V6_ILP32_OFF32_LIBS1118intconfstr() name for the POSIX V6 ILP32/off32 libraries.
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS1119intconfstr() name for the POSIX V6 ILP32/off32 lint flags.
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS1120intconfstr() name for the POSIX V6 ILP32/offbig compiler flags.
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS1121intconfstr() name for the POSIX V6 ILP32/offbig linker flags.
_CS_POSIX_V6_ILP32_OFFBIG_LIBS1122intconfstr() name for the POSIX V6 ILP32/offbig libraries.
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS1123intconfstr() name for the POSIX V6 ILP32/offbig lint flags.
_CS_POSIX_V6_LP64_OFF64_CFLAGS1124intconfstr() name for the POSIX V6 LP64/off64 compiler flags.
_CS_POSIX_V6_LP64_OFF64_LDFLAGS1125intconfstr() name for the POSIX V6 LP64/off64 linker flags.
_CS_POSIX_V6_LP64_OFF64_LIBS1126intconfstr() name for the POSIX V6 LP64/off64 libraries.
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS1127intconfstr() name for the POSIX V6 LP64/off64 lint flags.
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS1128intconfstr() name for the POSIX V6 LPBIG/offbig compiler flags.
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS1129intconfstr() name for the POSIX V6 LPBIG/offbig linker flags.
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS1130intconfstr() name for the POSIX V6 LPBIG/offbig libraries.
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS1131intconfstr() name for the POSIX V6 LPBIG/offbig lint flags.
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS_CS_V6_WIDTH_RESTRICTED_ENVSmacroconfstr() alias for the V6 width-restricted environment query.
_CS_POSIX_V7_ILP32_OFF32_CFLAGS1132intconfstr() name for the POSIX V7 ILP32/off32 compiler flags.
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS1133intconfstr() name for the POSIX V7 ILP32/off32 linker flags.
_CS_POSIX_V7_ILP32_OFF32_LIBS1134intconfstr() name for the POSIX V7 ILP32/off32 libraries.
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS1135intconfstr() name for the POSIX V7 ILP32/off32 lint flags.
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS1136intconfstr() name for the POSIX V7 ILP32/offbig compiler flags.
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS1137intconfstr() name for the POSIX V7 ILP32/offbig linker flags.
_CS_POSIX_V7_ILP32_OFFBIG_LIBS1138intconfstr() name for the POSIX V7 ILP32/offbig libraries.
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS1139intconfstr() name for the POSIX V7 ILP32/offbig lint flags.
_CS_POSIX_V7_LP64_OFF64_CFLAGS1140intconfstr() name for the POSIX V7 LP64/off64 compiler flags.
_CS_POSIX_V7_LP64_OFF64_LDFLAGS1141intconfstr() name for the POSIX V7 LP64/off64 linker flags.
_CS_POSIX_V7_LP64_OFF64_LIBS1142intconfstr() name for the POSIX V7 LP64/off64 libraries.
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS1143intconfstr() name for the POSIX V7 LP64/off64 lint flags.
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS1144intconfstr() name for the POSIX V7 LPBIG/offbig compiler flags.
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS1145intconfstr() name for the POSIX V7 LPBIG/offbig linker flags.
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS1146intconfstr() name for the POSIX V7 LPBIG/offbig libraries.
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS1147intconfstr() name for the POSIX V7 LPBIG/offbig lint flags.
_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS_CS_V7_WIDTH_RESTRICTED_ENVSmacroconfstr() alias for the V7 width-restricted environment query.
_CS_V5_WIDTH_RESTRICTED_ENVS4intconfstr() name for the V5 width-restricted environment query.
_CS_V6_ENV1148intconfstr() name returning the V6 environment specification string.
_CS_V6_WIDTH_RESTRICTED_ENVS1intconfstr() name for the V6 width-restricted environment query.
_CS_V7_ENV1149intconfstr() name returning the V7 environment specification string.
_CS_V7_WIDTH_RESTRICTED_ENVS5intconfstr() name for the V7 width-restricted environment query.
_CS_XBS5_ILP32_OFF32_CFLAGS1100intconfstr() name for the XBS5 ILP32/off32 compiler flags.
_CS_XBS5_ILP32_OFF32_LDFLAGS1101intconfstr() name for the XBS5 ILP32/off32 linker flags.
_CS_XBS5_ILP32_OFF32_LIBS1102intconfstr() name for the XBS5 ILP32/off32 libraries.
_CS_XBS5_ILP32_OFF32_LINTFLAGS1103intconfstr() name for the XBS5 ILP32/off32 lint flags.
_CS_XBS5_ILP32_OFFBIG_CFLAGS1104intconfstr() name for the XBS5 ILP32/offbig compiler flags.
_CS_XBS5_ILP32_OFFBIG_LDFLAGS1105intconfstr() name for the XBS5 ILP32/offbig linker flags.
_CS_XBS5_ILP32_OFFBIG_LIBS1106intconfstr() name for the XBS5 ILP32/offbig libraries.
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS1107intconfstr() name for the XBS5 ILP32/offbig lint flags.
_CS_XBS5_LP64_OFF64_CFLAGS1108intconfstr() name for the XBS5 LP64/off64 compiler flags.
_CS_XBS5_LP64_OFF64_LDFLAGS1109intconfstr() name for the XBS5 LP64/off64 linker flags.
_CS_XBS5_LP64_OFF64_LIBS1110intconfstr() name for the XBS5 LP64/off64 libraries.
_CS_XBS5_LP64_OFF64_LINTFLAGS1111intconfstr() name for the XBS5 LP64/off64 lint flags.
_CS_XBS5_LPBIG_OFFBIG_CFLAGS1112intconfstr() name for the XBS5 LPBIG/offbig compiler flags.
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS1113intconfstr() name for the XBS5 LPBIG/offbig linker flags.
_CS_XBS5_LPBIG_OFFBIG_LIBS1114intconfstr() name for the XBS5 LPBIG/offbig libraries.
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS1115intconfstr() name for the XBS5 LPBIG/offbig lint flags.
_GETOPT_CORE_H1intInclude guard for glibc <bits/getopt_core.h> (getopt data).
_GETOPT_POSIX_H1intInclude guard for glibc <bits/getopt_posix.h> (POSIX getopt).
_LFS64_ASYNCHRONOUS_IO1intDefines to 1 when glibc exposes 64-bit-offset asynchronous I/O.
_LFS64_LARGEFILE1intDefines to 1 when glibc exposes the 64-bit large-file interfaces.
_LFS64_STDIO1intDefines to 1 when glibc exposes 64-bit-offset stdio functions.
_LFS_ASYNCHRONOUS_IO1intDefines to 1 when the Large File Summit async-I/O API is available.
_LFS_LARGEFILE1intDefines to 1 when the Large File Summit large-file interface is available.
_PC_2_SYMLINKS20intName passed to pathconf() to test whether symlinks can be created.
_PC_ALLOC_SIZE_MIN18intName passed to pathconf() for the minimum allocation size.
_PC_ASYNC_IO10intName passed to pathconf() to test asynchronous I/O support.
_PC_CHOWN_RESTRICTED6intName passed to pathconf() to test whether chown is restricted.
_PC_FILESIZEBITS13intName passed to pathconf() for the max file-size bit width.
_PC_LINK_MAX0intName passed to pathconf() for the maximum link count.
_PC_MAX_CANON1intName passed to pathconf() for the max terminal line length.
_PC_MAX_INPUT2intName passed to pathconf() for the max terminal input-line length.
_PC_NAME_MAX3intName passed to pathconf() for the max filename length.
_PC_NO_TRUNC7intName passed to pathconf() to test whether long filenames are rejected.
_PC_PATH_MAX4intName passed to pathconf() for the max pathname length.
_PC_PIPE_BUF5intName passed to pathconf() for the atomic pipe write size.
_PC_PRIO_IO11intName passed to pathconf() to test prioritized I/O support.
_PC_REC_INCR_XFER_SIZE14intName passed to pathconf() for the recommended file transfer size.
_PC_REC_MAX_XFER_SIZE15intName passed to pathconf() for the maximum recommended transfer size.
_PC_REC_MIN_XFER_SIZE16intName passed to pathconf() for the minimum recommended transfer size.
_PC_REC_XFER_ALIGN17intName passed to pathconf() for transfer-size alignment.
_PC_SOCK_MAXBUF12intName passed to pathconf() for the maximum socket buffer size.
_PC_SYMLINK_MAX19intName passed to pathconf() for the maximum symlink path length.
_PC_SYNC_IO9intName passed to pathconf() to test synchronized I/O support.
_PC_VDISABLE8intName passed to pathconf() for the terminal disable character.
_POSIX2_CHAR_TERM200809LlongCompile-time constant: 200809L when the terminal-character utilities exist.
_POSIX2_C_BIND200809LlongCompile-time constant: 200809L when the C language binding is supported.
_POSIX2_C_DEV200809LlongCompile-time constant: 200809L when C development utilities exist.
_POSIX2_C_VERSION200809LlongCompile-time constant reporting the C-language utilities version.
_POSIX2_LOCALEDEF200809LlongCompile-time constant: 200809L when localedef exists.
_POSIX2_SW_DEV200809LlongCompile-time constant: 200809L when software-development utilities exist.
_POSIX2_VERSION200809LlongCompile-time constant reporting the POSIX.2 version supported.
_POSIX_ADVISORY_INFO200809LlongCompile-time constant: 200809L if advisory information option supported.
_POSIX_ASYNCHRONOUS_IO200809LlongCompile-time constant: 200809L if asynchronous I/O is supported.
_POSIX_ASYNC_IO1intCompile-time constant: 1 if asynchronous I/O is supported.
_POSIX_BARRIERS200809LlongCompile-time constant: 200809L if synchronization barriers exist.
_POSIX_CHOWN_RESTRICTED0intCompile-time constant: 0 if chown restriction is indeterminate.
_POSIX_CLOCK_SELECTION200809LlongCompile-time constant: 200809L if clock selection is supported.
_POSIX_CPUTIME0intCompile-time constant: 0 if per-process CPU-time clocks are indeterminate.
_POSIX_FSYNC200809LlongCompile-time constant: 200809L if fsync() is supported.
_POSIX_IPV6200809LlongCompile-time constant: 200809L if IPv6 sockets are supported.
_POSIX_JOB_CONTROL1intCompile-time constant: 1 if job control is supported.
_POSIX_MAPPED_FILES200809LlongCompile-time constant: 200809L if memory-mapped files exist.
_POSIX_MEMLOCK200809LlongCompile-time constant: 200809L if process memory locking exists.
_POSIX_MEMLOCK_RANGE200809LlongCompile-time constant: 200809L if range memory locking exists.
_POSIX_MEMORY_PROTECTION200809LlongCompile-time constant: 200809L if memory protection exists.
_POSIX_MESSAGE_PASSING200809LlongCompile-time constant: 200809L if message passing exists.
_POSIX_MONOTONIC_CLOCK0intCompile-time constant: 0 if the monotonic clock is indeterminate.
_POSIX_NO_TRUNC1intCompile-time constant: 1 if overlong component names are an error.
_POSIX_PRIORITIZED_IO200809LlongCompile-time constant: 200809L if prioritized I/O is supported.
_POSIX_PRIORITY_SCHEDULING200809LlongCompile-time constant: 200809L if priority scheduling exists.
_POSIX_RAW_SOCKETS200809LlongCompile-time constant: 200809L if raw sockets are supported.
_POSIX_READER_WRITER_LOCKS200809LlongCompile-time constant: 200809L if reader-writer locks exist.
_POSIX_REALTIME_SIGNALS200809LlongCompile-time constant: 200809L if realtime signals exist.
_POSIX_REENTRANT_FUNCTIONS1intCompile-time constant: 1 if the *_r() reentrant functions exist.
_POSIX_REGEXP1intCompile-time constant: 1 if POSIX regular-expression support exists.
_POSIX_SAVED_IDS1intCompile-time constant: 1 if saved set-user-ID is supported.
_POSIX_SEMAPHORES200809LlongCompile-time constant: 200809L if counting semaphores exist.
_POSIX_SHARED_MEMORY_OBJECTS200809LlongCompile-time constant: 200809L if shared memory objects exist.
_POSIX_SHELL1intCompile-time constant: 1 if the POSIX shell exists.
_POSIX_SPAWN200809LlongCompile-time constant: 200809L if posix_spawn() is supported.
_POSIX_SPIN_LOCKS200809LlongCompile-time constant: 200809L if spin locks exist.
_POSIX_SPORADIC_SERVER-1intCompile-time constant: -1 indicating sporadic server is unsupported.
_POSIX_SYNCHRONIZED_IO200809LlongCompile-time constant: 200809L if synchronized I/O is supported.
_POSIX_THREADS200809LlongCompile-time constant: 200809L if POSIX threads are supported.
_POSIX_THREAD_ATTR_STACKADDR200809LlongCompile-time constant: 200809L if thread stack-address attribute exists.
_POSIX_THREAD_ATTR_STACKSIZE200809LlongCompile-time constant: 200809L if thread stack-size attribute exists.
_POSIX_THREAD_CPUTIME0intCompile-time constant: 0 if thread CPU-time clocks are indeterminate.
_POSIX_THREAD_PRIORITY_SCHEDULING200809LlongCompile-time constant: 200809L if thread priority scheduling exists.
_POSIX_THREAD_PRIO_INHERIT200809LlongCompile-time constant: 200809L if priority inheritance exists.
_POSIX_THREAD_PRIO_PROTECT200809LlongCompile-time constant: 200809L if priority protection exists.
_POSIX_THREAD_PROCESS_SHARED200809LlongCompile-time constant: 200809L if process-shared synchronization exists.
_POSIX_THREAD_ROBUST_PRIO_INHERIT200809LlongCompile-time constant: 200809L if robust priority-inheritance exists.
_POSIX_THREAD_ROBUST_PRIO_PROTECT-1intCompile-time constant: -1 if robust priority-protection is unsupported.
_POSIX_THREAD_SAFE_FUNCTIONS200809LlongCompile-time constant: 200809L if thread-safe functions exist.
_POSIX_THREAD_SPORADIC_SERVER-1intCompile-time constant: -1 if thread sporadic server is unsupported.
_POSIX_TIMEOUTS200809LlongCompile-time constant: 200809L if timeout functions are supported.
_POSIX_TIMERS200809LlongCompile-time constant: 200809L if POSIX timers are supported.
_POSIX_TRACE-1intCompile-time constant: -1 if event tracing is unsupported.
_POSIX_TRACE_EVENT_FILTER-1intCompile-time constant: -1 if trace event filtering is unsupported.
_POSIX_TRACE_INHERIT-1intCompile-time constant: -1 if trace inheritance is unsupported.
_POSIX_TRACE_LOG-1intCompile-time constant: -1 if trace log is unsupported.
_POSIX_TYPED_MEMORY_OBJECTS-1intCompile-time constant: -1 if typed memory objects are unsupported.
_POSIX_V6_LP64_OFF641intCompile-time constant: 1 when the LP64/off64 environment is defined.
_POSIX_V6_LPBIG_OFFBIG-1intCompile-time constant: -1 when the LPBIG/offbig environment is absent.
_POSIX_V7_LP64_OFF641intCompile-time constant: 1 when the LP64/off64 environment is defined.
_POSIX_V7_LPBIG_OFFBIG-1intCompile-time constant: -1 when the LPBIG/offbig environment is absent.
_POSIX_VDISABLE0intCompile-time constant: 0 is the terminal disable-character value.
_POSIX_VERSION200809LlongCompile-time constant reporting the supported POSIX.1 version (200809L).
_SC_2_CHAR_TERM95intName passed to sysconf() to query the 2 char term configuration value.
_SC_2_C_BIND47intName passed to sysconf() to query the 2 c bind configuration value.
_SC_2_C_DEV48intName passed to sysconf() to query the 2 c dev configuration value.
_SC_2_C_VERSION96intName passed to sysconf() to query the 2 c version configuration value.
_SC_2_FORT_DEV49intName passed to sysconf() to query the 2 fort dev configuration value.
_SC_2_FORT_RUN50intName passed to sysconf() to query the 2 fort run configuration value.
_SC_2_LOCALEDEF52intName passed to sysconf() to query the 2 localedef configuration value.
_SC_2_PBS168intName passed to sysconf() to query the 2 pbs configuration value.
_SC_2_PBS_ACCOUNTING169intName passed to sysconf() to query the 2 pbs accounting configuration value.
_SC_2_PBS_CHECKPOINT175intName passed to sysconf() to query the 2 pbs checkpoint configuration value.
_SC_2_PBS_LOCATE170intName passed to sysconf() to query the 2 pbs locate configuration value.
_SC_2_PBS_MESSAGE171intName passed to sysconf() to query the 2 pbs message configuration value.
_SC_2_PBS_TRACK172intName passed to sysconf() to query the 2 pbs track configuration value.
_SC_2_SW_DEV51intName passed to sysconf() to query the 2 sw dev configuration value.
_SC_2_UPE97intName passed to sysconf() to query the 2 upe configuration value.
_SC_2_VERSION46intName passed to sysconf() to query the 2 version configuration value.
_SC_ADVISORY_INFO132intName passed to sysconf() to query the advisory info configuration value.
_SC_AIO_LISTIO_MAX23intName passed to sysconf() to query the aio listio max configuration value.
_SC_AIO_MAX24intName passed to sysconf() to query the aio max configuration value.
_SC_AIO_PRIO_DELTA_MAX25intName passed to sysconf() to query the aio prio delta max configuration value.
_SC_ARG_MAX0intName passed to sysconf() to query the arg max configuration value.
_SC_ASYNCHRONOUS_IO12intName passed to sysconf() to query the asynchronous io configuration value.
_SC_ATEXIT_MAX87intName passed to sysconf() to query the atexit max configuration value.
_SC_AVPHYS_PAGES86intName passed to sysconf() to query the avphys pages configuration value.
_SC_BARRIERS133intName passed to sysconf() to query the barriers configuration value.
_SC_BASE134intName passed to sysconf() to query the base configuration value.
_SC_BC_BASE_MAX36intName passed to sysconf() to query the bc base max configuration value.
_SC_BC_DIM_MAX37intName passed to sysconf() to query the bc dim max configuration value.
_SC_BC_SCALE_MAX38intName passed to sysconf() to query the bc scale max configuration value.
_SC_BC_STRING_MAX39intName passed to sysconf() to query the bc string max configuration value.
_SC_CHARCLASS_NAME_MAX45intName passed to sysconf() to query the charclass name max configuration value.
_SC_CHAR_BIT101intName passed to sysconf() to query the char bit configuration value.
_SC_CHAR_MAX102intName passed to sysconf() to query the char max configuration value.
_SC_CHAR_MIN103intName passed to sysconf() to query the char min configuration value.
_SC_CHILD_MAX1intName passed to sysconf() to query the child max configuration value.
_SC_CLK_TCK2intName passed to sysconf() to query the clk tck configuration value.
_SC_CLOCK_SELECTION137intName passed to sysconf() to query the clock selection configuration value.
_SC_COLL_WEIGHTS_MAX40intName passed to sysconf() to query the coll weights max configuration value.
_SC_CPUTIME138intName passed to sysconf() to query the cputime configuration value.
_SC_C_LANG_SUPPORT135intName passed to sysconf() to query the c lang support configuration value.
_SC_C_LANG_SUPPORT_R136intName passed to sysconf() to query the c lang support r configuration value.
_SC_DELAYTIMER_MAX26intName passed to sysconf() to query the delaytimer max configuration value.
_SC_DEVICE_IO140intName passed to sysconf() to query the device io configuration value.
_SC_DEVICE_SPECIFIC141intName passed to sysconf() to query the device specific configuration value.
_SC_DEVICE_SPECIFIC_R142intName passed to sysconf() to query the device specific r configuration value.
_SC_EQUIV_CLASS_MAX41intName passed to sysconf() to query the equiv class max configuration value.
_SC_EXPR_NEST_MAX42intName passed to sysconf() to query the expr nest max configuration value.
_SC_FD_MGMT143intName passed to sysconf() to query the fd mgmt configuration value.
_SC_FIFO144intName passed to sysconf() to query the fifo configuration value.
_SC_FILE_ATTRIBUTES146intName passed to sysconf() to query the file attributes configuration value.
_SC_FILE_LOCKING147intName passed to sysconf() to query the file locking configuration value.
_SC_FILE_SYSTEM148intName passed to sysconf() to query the file system configuration value.
_SC_FSYNC15intName passed to sysconf() to query the fsync configuration value.
_SC_GETGR_R_SIZE_MAX69intName passed to sysconf() to query the getgr r size max configuration value.
_SC_GETPW_R_SIZE_MAX70intName passed to sysconf() to query the getpw r size max configuration value.
_SC_HOST_NAME_MAX180intName passed to sysconf() to query the host name max configuration value.
_SC_INT_MAX104intName passed to sysconf() to query the int max configuration value.
_SC_INT_MIN105intName passed to sysconf() to query the int min configuration value.
_SC_IOV_MAX60intName passed to sysconf() to query the iov max configuration value.
_SC_IPV6235intName passed to sysconf() to query the ipv6 configuration value.
_SC_JOB_CONTROL7intName passed to sysconf() to query the job control configuration value.
_SC_LEVEL1_DCACHE_ASSOC189intName passed to sysconf() to query the level1 dcache assoc configuration value.
_SC_LEVEL1_DCACHE_LINESIZE190intName passed to sysconf() to query the level1 dcache linesize configuration value.
_SC_LEVEL1_DCACHE_SIZE188intName passed to sysconf() to query the level1 dcache size configuration value.
_SC_LEVEL1_ICACHE_ASSOC186intName passed to sysconf() to query the level1 icache assoc configuration value.
_SC_LEVEL1_ICACHE_LINESIZE187intName passed to sysconf() to query the level1 icache linesize configuration value.
_SC_LEVEL1_ICACHE_SIZE185intName passed to sysconf() to query the level1 icache size configuration value.
_SC_LEVEL2_CACHE_ASSOC192intName passed to sysconf() to query the level2 cache assoc configuration value.
_SC_LEVEL2_CACHE_LINESIZE193intName passed to sysconf() to query the level2 cache linesize configuration value.
_SC_LEVEL2_CACHE_SIZE191intName passed to sysconf() to query the level2 cache size configuration value.
_SC_LEVEL3_CACHE_ASSOC195intName passed to sysconf() to query the level3 cache assoc configuration value.
_SC_LEVEL3_CACHE_LINESIZE196intName passed to sysconf() to query the level3 cache linesize configuration value.
_SC_LEVEL3_CACHE_SIZE194intName passed to sysconf() to query the level3 cache size configuration value.
_SC_LEVEL4_CACHE_ASSOC198intName passed to sysconf() to query the level4 cache assoc configuration value.
_SC_LEVEL4_CACHE_LINESIZE199intName passed to sysconf() to query the level4 cache linesize configuration value.
_SC_LEVEL4_CACHE_SIZE197intName passed to sysconf() to query the level4 cache size configuration value.
_SC_LINE_MAX43intName passed to sysconf() to query the line max configuration value.
_SC_LOGIN_NAME_MAX71intName passed to sysconf() to query the login name max configuration value.
_SC_LONG_BIT106intName passed to sysconf() to query the long bit configuration value.
_SC_MAPPED_FILES16intName passed to sysconf() to query the mapped files configuration value.
_SC_MB_LEN_MAX108intName passed to sysconf() to query the mb len max configuration value.
_SC_MEMLOCK17intName passed to sysconf() to query the memlock configuration value.
_SC_MEMLOCK_RANGE18intName passed to sysconf() to query the memlock range configuration value.
_SC_MEMORY_PROTECTION19intName passed to sysconf() to query the memory protection configuration value.
_SC_MESSAGE_PASSING20intName passed to sysconf() to query the message passing configuration value.
_SC_MINSIGSTKSZ249intName passed to sysconf() to query the minsigstksz configuration value.
_SC_MONOTONIC_CLOCK149intName passed to sysconf() to query the monotonic clock configuration value.
_SC_MQ_OPEN_MAX27intName passed to sysconf() to query the mq open max configuration value.
_SC_MQ_PRIO_MAX28intName passed to sysconf() to query the mq prio max configuration value.
_SC_MULTI_PROCESS150intName passed to sysconf() to query the multi process configuration value.
_SC_NETWORKING152intName passed to sysconf() to query the networking configuration value.
_SC_NGROUPS_MAX3intName passed to sysconf() to query the ngroups max configuration value.
_SC_NL_ARGMAX119intName passed to sysconf() to query the nl argmax configuration value.
_SC_NL_LANGMAX120intName passed to sysconf() to query the nl langmax configuration value.
_SC_NL_MSGMAX121intName passed to sysconf() to query the nl msgmax configuration value.
_SC_NL_NMAX122intName passed to sysconf() to query the nl nmax configuration value.
_SC_NL_SETMAX123intName passed to sysconf() to query the nl setmax configuration value.
_SC_NL_TEXTMAX124intName passed to sysconf() to query the nl textmax configuration value.
_SC_NPROCESSORS_CONF83intName passed to sysconf() to query the nprocessors conf configuration value.
_SC_NPROCESSORS_ONLN84intName passed to sysconf() to query the nprocessors onln configuration value.
_SC_NZERO109intName passed to sysconf() to query the nzero configuration value.
_SC_OPEN_MAX4intName passed to sysconf() to query the open max configuration value.
_SC_PAGESIZE30intName passed to sysconf() to query the pagesize configuration value.
_SC_PAGE_SIZE_SC_PAGESIZEmacroName passed to sysconf() to query the page size configuration value.
_SC_PASS_MAX88intName passed to sysconf() to query the pass max configuration value.
_SC_PHYS_PAGES85intName passed to sysconf() to query the phys pages configuration value.
_SC_PII53intName passed to sysconf() to query the pii configuration value.
_SC_PII_INTERNET56intName passed to sysconf() to query the pii internet configuration value.
_SC_PII_INTERNET_DGRAM62intName passed to sysconf() to query the pii internet dgram configuration value.
_SC_PII_INTERNET_STREAM61intName passed to sysconf() to query the pii internet stream configuration value.
_SC_PII_OSI57intName passed to sysconf() to query the pii osi configuration value.
_SC_PII_OSI_CLTS64intName passed to sysconf() to query the pii osi clts configuration value.
_SC_PII_OSI_COTS63intName passed to sysconf() to query the pii osi cots configuration value.
_SC_PII_OSI_M65intName passed to sysconf() to query the pii osi m configuration value.
_SC_PII_SOCKET55intName passed to sysconf() to query the pii socket configuration value.
_SC_PII_XTI54intName passed to sysconf() to query the pii xti configuration value.
_SC_PIPE145intName passed to sysconf() to query the pipe configuration value.
_SC_POLL58intName passed to sysconf() to query the poll configuration value.
_SC_PRIORITIZED_IO13intName passed to sysconf() to query the prioritized io configuration value.
_SC_PRIORITY_SCHEDULING10intName passed to sysconf() to query the priority scheduling configuration value.
_SC_RAW_SOCKETS236intName passed to sysconf() to query the raw sockets configuration value.
_SC_READER_WRITER_LOCKS153intName passed to sysconf() to query the reader writer locks configuration value.
_SC_REALTIME_SIGNALS9intName passed to sysconf() to query the realtime signals configuration value.
_SC_REGEXP155intName passed to sysconf() to query the regexp configuration value.
_SC_REGEX_VERSION156intName passed to sysconf() to query the regex version configuration value.
_SC_RE_DUP_MAX44intName passed to sysconf() to query the re dup max configuration value.
_SC_RTSIG_MAX31intName passed to sysconf() to query the rtsig max configuration value.
_SC_SAVED_IDS8intName passed to sysconf() to query the saved ids configuration value.
_SC_SCHAR_MAX111intName passed to sysconf() to query the schar max configuration value.
_SC_SCHAR_MIN112intName passed to sysconf() to query the schar min configuration value.
_SC_SELECT59intName passed to sysconf() to query the select configuration value.
_SC_SEMAPHORES21intName passed to sysconf() to query the semaphores configuration value.
_SC_SEM_NSEMS_MAX32intName passed to sysconf() to query the sem nsems max configuration value.
_SC_SEM_VALUE_MAX33intName passed to sysconf() to query the sem value max configuration value.
_SC_SHARED_MEMORY_OBJECTS22intName passed to sysconf() to query the shared memory objects configuration value.
_SC_SHELL157intName passed to sysconf() to query the shell configuration value.
_SC_SHRT_MAX113intName passed to sysconf() to query the shrt max configuration value.
_SC_SHRT_MIN114intName passed to sysconf() to query the shrt min configuration value.
_SC_SIGNALS158intName passed to sysconf() to query the signals configuration value.
_SC_SIGQUEUE_MAX34intName passed to sysconf() to query the sigqueue max configuration value.
_SC_SIGSTKSZ250intName passed to sysconf() to query the sigstksz configuration value.
_SC_SINGLE_PROCESS151intName passed to sysconf() to query the single process configuration value.
_SC_SPAWN159intName passed to sysconf() to query the spawn configuration value.
_SC_SPIN_LOCKS154intName passed to sysconf() to query the spin locks configuration value.
_SC_SPORADIC_SERVER160intName passed to sysconf() to query the sporadic server configuration value.
_SC_SSIZE_MAX110intName passed to sysconf() to query the ssize max configuration value.
_SC_SS_REPL_MAX241intName passed to sysconf() to query the ss repl max configuration value.
_SC_STREAMS174intName passed to sysconf() to query the streams configuration value.
_SC_STREAM_MAX5intName passed to sysconf() to query the stream max configuration value.
_SC_SYMLOOP_MAX173intName passed to sysconf() to query the symloop max configuration value.
_SC_SYNCHRONIZED_IO14intName passed to sysconf() to query the synchronized io configuration value.
_SC_SYSTEM_DATABASE162intName passed to sysconf() to query the system database configuration value.
_SC_SYSTEM_DATABASE_R163intName passed to sysconf() to query the system database r configuration value.
_SC_THREADS67intName passed to sysconf() to query the threads configuration value.
_SC_THREAD_ATTR_STACKADDR77intName passed to sysconf() to query the thread attr stackaddr configuration value.
_SC_THREAD_ATTR_STACKSIZE78intName passed to sysconf() to query the thread attr stacksize configuration value.
_SC_THREAD_CPUTIME139intName passed to sysconf() to query the thread cputime configuration value.
_SC_THREAD_DESTRUCTOR_ITERATIONS73intName passed to sysconf() to query the thread destructor iterations configuration value.
_SC_THREAD_KEYS_MAX74intName passed to sysconf() to query the thread keys max configuration value.
_SC_THREAD_PRIORITY_SCHEDULING79intName passed to sysconf() to query the thread priority scheduling configuration value.
_SC_THREAD_PRIO_INHERIT80intName passed to sysconf() to query the thread prio inherit configuration value.
_SC_THREAD_PRIO_PROTECT81intName passed to sysconf() to query the thread prio protect configuration value.
_SC_THREAD_PROCESS_SHARED82intName passed to sysconf() to query the thread process shared configuration value.
_SC_THREAD_ROBUST_PRIO_INHERIT247intName passed to sysconf() to query the thread robust prio inherit configuration value.
_SC_THREAD_ROBUST_PRIO_PROTECT248intName passed to sysconf() to query the thread robust prio protect configuration value.
_SC_THREAD_SAFE_FUNCTIONS68intName passed to sysconf() to query the thread safe functions configuration value.
_SC_THREAD_SPORADIC_SERVER161intName passed to sysconf() to query the thread sporadic server configuration value.
_SC_THREAD_STACK_MIN75intName passed to sysconf() to query the thread stack min configuration value.
_SC_THREAD_THREADS_MAX76intName passed to sysconf() to query the thread threads max configuration value.
_SC_TIMEOUTS164intName passed to sysconf() to query the timeouts configuration value.
_SC_TIMERS11intName passed to sysconf() to query the timers configuration value.
_SC_TIMER_MAX35intName passed to sysconf() to query the timer max configuration value.
_SC_TRACE181intName passed to sysconf() to query the trace configuration value.
_SC_TRACE_EVENT_FILTER182intName passed to sysconf() to query the trace event filter configuration value.
_SC_TRACE_EVENT_NAME_MAX242intName passed to sysconf() to query the trace event name max configuration value.
_SC_TRACE_INHERIT183intName passed to sysconf() to query the trace inherit configuration value.
_SC_TRACE_LOG184intName passed to sysconf() to query the trace log configuration value.
_SC_TRACE_NAME_MAX243intName passed to sysconf() to query the trace name max configuration value.
_SC_TRACE_SYS_MAX244intName passed to sysconf() to query the trace sys max configuration value.
_SC_TRACE_USER_EVENT_MAX245intName passed to sysconf() to query the trace user event max configuration value.
_SC_TTY_NAME_MAX72intName passed to sysconf() to query the tty name max configuration value.
_SC_TYPED_MEMORY_OBJECTS165intName passed to sysconf() to query the typed memory objects configuration value.
_SC_TZNAME_MAX6intName passed to sysconf() to query the tzname max configuration value.
_SC_T_IOV_MAX66intName passed to sysconf() to query the t iov max configuration value.
_SC_UCHAR_MAX115intName passed to sysconf() to query the uchar max configuration value.
_SC_UINT_MAX116intName passed to sysconf() to query the uint max configuration value.
_SC_UIO_MAXIOV60intName passed to sysconf() to query the uio maxiov configuration value.
_SC_ULONG_MAX117intName passed to sysconf() to query the ulong max configuration value.
_SC_USER_GROUPS166intName passed to sysconf() to query the user groups configuration value.
_SC_USER_GROUPS_R167intName passed to sysconf() to query the user groups r configuration value.
_SC_USHRT_MAX118intName passed to sysconf() to query the ushrt max configuration value.
_SC_V6_ILP32_OFF32176intName passed to sysconf() to query the v6 ilp32 off32 configuration value.
_SC_V6_ILP32_OFFBIG177intName passed to sysconf() to query the v6 ilp32 offbig configuration value.
_SC_V6_LP64_OFF64178intName passed to sysconf() to query the v6 lp64 off64 configuration value.
_SC_V6_LPBIG_OFFBIG179intName passed to sysconf() to query the v6 lpbig offbig configuration value.
_SC_V7_ILP32_OFF32237intName passed to sysconf() to query the v7 ilp32 off32 configuration value.
_SC_V7_ILP32_OFFBIG238intName passed to sysconf() to query the v7 ilp32 offbig configuration value.
_SC_V7_LP64_OFF64239intName passed to sysconf() to query the v7 lp64 off64 configuration value.
_SC_V7_LPBIG_OFFBIG240intName passed to sysconf() to query the v7 lpbig offbig configuration value.
_SC_VERSION29intName passed to sysconf() to query the version configuration value.
_SC_WORD_BIT107intName passed to sysconf() to query the word bit configuration value.
_SC_XBS5_ILP32_OFF32125intName passed to sysconf() to query the xbs5 ilp32 off32 configuration value.
_SC_XBS5_ILP32_OFFBIG126intName passed to sysconf() to query the xbs5 ilp32 offbig configuration value.
_SC_XBS5_LP64_OFF64127intName passed to sysconf() to query the xbs5 lp64 off64 configuration value.
_SC_XBS5_LPBIG_OFFBIG128intName passed to sysconf() to query the xbs5 lpbig offbig configuration value.
_SC_XOPEN_CRYPT92intName passed to sysconf() to query the xopen crypt configuration value.
_SC_XOPEN_ENH_I18N93intName passed to sysconf() to query the xopen enh i18n configuration value.
_SC_XOPEN_LEGACY129intName passed to sysconf() to query the xopen legacy configuration value.
_SC_XOPEN_REALTIME130intName passed to sysconf() to query the xopen realtime configuration value.
_SC_XOPEN_REALTIME_THREADS131intName passed to sysconf() to query the xopen realtime threads configuration value.
_SC_XOPEN_SHM94intName passed to sysconf() to query the xopen shm configuration value.
_SC_XOPEN_STREAMS246intName passed to sysconf() to query the xopen streams configuration value.
_SC_XOPEN_UNIX91intName passed to sysconf() to query the xopen unix configuration value.
_SC_XOPEN_VERSION89intName passed to sysconf() to query the xopen version configuration value.
_SC_XOPEN_XCU_VERSION90intName passed to sysconf() to query the xopen xcu version configuration value.
_SC_XOPEN_XPG298intName passed to sysconf() to query the xopen xpg2 configuration value.
_SC_XOPEN_XPG399intName passed to sysconf() to query the xopen xpg3 configuration value.
_SC_XOPEN_XPG4100intName passed to sysconf() to query the xopen xpg4 configuration value.
_UNISTD_H1intInclude guard for glibc <unistd.h> (POSIX system calls).
_XBS5_LP64_OFF641intCompile-time constant: 1 when the XBS5 LP64/off64 environment is defined.
_XBS5_LPBIG_OFFBIG-1intCompile-time constant: -1 when the XBS5 LPBIG/offbig environment is absent.
_XOPEN_ENH_I18N1intCompile-time constant: 1 when enhanced internationalization is available.
_XOPEN_LEGACY1intCompile-time constant: 1 when the XPG4 legacy interfaces are available.
_XOPEN_REALTIME1intCompile-time constant: 1 when the XPG4 realtime interfaces are available.
_XOPEN_REALTIME_THREADS1intCompile-time constant: 1 when XPG4 realtime threads are available.
_XOPEN_SHM1intCompile-time constant: 1 when XPG4 shared memory interfaces are available.
_XOPEN_UNIX1intCompile-time constant: 1 when XPG4 UNIX (XSI) interfaces are available.
_XOPEN_VERSION700intCompile-time constant: 700 reports the supported XPG standard version.
_XOPEN_XCU_VERSION4intCompile-time constant: 4 when the XCU4 commands and utilities exist.
_XOPEN_XPG21intCompile-time constant: 1 when the XPG2 base profile is available.
_XOPEN_XPG31intCompile-time constant: 1 when the XPG3 base profile is available.
_XOPEN_XPG41intCompile-time constant: 1 when the XPG4 base profile is available.
__ILP32_OFF32_CFLAGS-m32macroCompiler flags confstr() returns for the ILP32/off32 compilation environment.
__ILP32_OFF32_LDFLAGS-m32macroLinker flags confstr() returns for the ILP32/off32 environment.
__ILP32_OFFBIG_CFLAGS-m32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64macroCompiler flags (with _FILE_OFFSET_BITS=64) for the ILP32/offbig environment.
__ILP32_OFFBIG_LDFLAGS-m32macroLinker flags for the ILP32/offbig compilation environment.
__LP64_OFF64_CFLAGS-m64macroCompiler flags confstr() returns for the LP64/off64 compilation environment.
__LP64_OFF64_LDFLAGS-m64macroLinker flags confstr() returns for the LP64/off64 environment.
__POSIX2_THIS_VERSION200809LlongPOSIX.2 (shell and utilities) version supported by this system.
__intptr_t_defined“macroglibc-internal guard marking that intptr_t has been defined (typedef).
__useconds_t_defined“macroglibc-internal guard marking that useconds_t has been defined (typedef).

File Controls

open()-time flags (O_*, including O_DIRECT, O_TMPFILE) and st_mode permission / file-type bits (S_*, ACCESSPERMS, ALLPERMS) used with stat() and chmod(). Rows come from <fcntl.h> and <sys/stat.h>.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
ACCESSPERMS((0400|0200|0100)|((0400|0200|0100) >> 3)|(((0400|0200|0100) >> 3) >> 3))intMask of the nine file-permission bits (rwxrwxrwx), excluding special bits.
ALLPERMS(04000|02000|01000|(0400|0200|0100)|((0400|0200|0100) >> 3)|(((0400|0200|0100) >> 3) >> 3))intMask of the nine permission bits plus setuid, setgid, and sticky bits.
AT_EACCESS0x200intFlag passed to faccessat() testing access with effective IDs rather than real IDs.
AT_FDCWD-100intSpecial dirfd passed to *at() calls to resolve paths relative to the current directory.
AT_REMOVEDIR0x200intFlag passed to unlinkat() removing an empty directory rather than a file.
AT_SYMLINK_FOLLOW0x400intFlag passed to linkat()/utimensat() to follow (rather than reject) a symbolic link.
AT_SYMLINK_NOFOLLOW0x100intFlag passed to linkat() to operate on the symbolic link itself, not its target.
DEFFILEMODE(0400|0200|(0400 >> 3)|(0200 >> 3)|((0400 >> 3) >> 3)|((0200 >> 3) >> 3))intDefault permission bits (rw-rw-rw-) used when creating a file with no mode argument.
FAPPEND02000intBSD alias for O_APPEND; forces writes to the end of the file.
FASYNC020000intBSD alias for O_ASYNC; requests SIGIO when the file becomes ready.
FD_CLOEXEC1intFlag settable via fcntl(F_SETFD) to close the descriptor on exec().
FFSYNC04010000intBSD alias for O_SYNC; writes are flushed to disk before returning.
FNDELAY04000intBSD alias for O_NONBLOCK on Linux; enables non-blocking I/O.
FNONBLOCK04000intBSD alias for O_NONBLOCK; enables non-blocking I/O.
F_DUPFD0intfcntl() command duplicating a descriptor to the lowest available number.
F_DUPFD_CLOEXEC1030intfcntl() command duplicating a descriptor with the FD_CLOEXEC flag set.
F_EXLCK4intObsolete shared/ exclusive lock type; requests an exclusive file lock.
F_GETFD1intfcntl() command returning the descriptor flags (such as FD_CLOEXEC).
F_GETFL3intfcntl() command returning the open() status flags of a descriptor.
F_GETLK5intfcntl() command testing whether a record lock would block.
F_GETLK645intfcntl() command testing locks using the 64-bit struct flock64.
F_GETOWN9intfcntl() command returning the process owning the descriptor for signals.
F_RDLCK0intstruct flock type value requesting a shared (read) record lock.
F_SETFD2intfcntl() command setting the descriptor flags of a descriptor.
F_SETFL4intfcntl() command setting the open() status flags of a descriptor.
F_SETLK6intfcntl() command acquiring or releasing a record lock without blocking.
F_SETLK646intfcntl() command setting a lock using the 64-bit struct flock64.
F_SETLKW7intfcntl() command acquiring a record lock, blocking until it is available.
F_SETLKW647intfcntl() command blocking on a lock using the 64-bit struct flock64.
F_SETOWN8intfcntl() command setting the process that owns the descriptor for signals.
F_SHLCK8intObsolete lock type requesting a shared file lock.
F_UNLCK2intstruct flock type value requesting that a record lock be released.
F_WRLCK1intstruct flock type value requesting an exclusive (write) record lock.
LOCK_EX2intflock() operation requesting an exclusive (write) lock.
LOCK_NB4intflock() flag making the lock request non-blocking.
LOCK_SH1intflock() operation requesting a shared (read) lock.
LOCK_UN8intflock() operation releasing the lock on the file.
O_ACCMODE0003intMask extracting the access mode bits (O_RDONLY/O_WRONLY/O_RDWR) from open flags.
O_APPEND02000intopen() flag appending all writes to the end of the file.
O_ASYNC020000intopen() flag requesting SIGIO when the file descriptor becomes ready.
O_CLOEXEC02000000intopen() flag closing the descriptor automatically on exec().
O_CREAT0100intopen() flag creating the file when it does not already exist.
O_DIRECTORY0200000intopen() flag failing unless the path refers to a directory.
O_DSYNC010000intopen() flag flushing data (but not metadata) to disk before writes return.
O_EXCL0200intopen() flag failing if the file already exists (atomic create check).
O_FSYNC04010000intopen() flag (alias of O_SYNC) flushing both data and metadata to disk.
O_NDELAY04000intopen() flag (alias of O_NONBLOCK) enabling non-blocking I/O.
O_NOCTTY0400intopen() flag preventing a terminal from becoming the controlling terminal.
O_NOFOLLOW0400000intopen() flag failing if the final path component is a symbolic link.
O_NONBLOCK04000intopen() flag enabling non-blocking I/O for the descriptor. See also: O_NDELAY (Alias, plus BSD FNDELAY/FNONBLOCK.).
O_RDONLY00intopen() access mode opening the file for reading only.
O_RDWR02intopen() access mode opening the file for both reading and writing.
O_RSYNC04010000intopen() flag synchronizing reads with pending write flushes.
O_SYNC04010000intopen() flag that flushes data and metadata before writes return. See also: FFSYNC (BSD alias for the same flag).
O_TRUNC01000intopen() flag truncating an existing regular file to zero length.
O_WRONLY01intopen() access mode opening the file for writing only.
POSIX_FADV_DONTNEED4intposix_fadvise() advice that the given range will not be accessed again.
POSIX_FADV_NOREUSE5intposix_fadvise() advice that the range will be accessed once and not reused.
POSIX_FADV_NORMAL0intposix_fadvise() advice restoring default read-ahead behavior.
POSIX_FADV_RANDOM1intposix_fadvise() advice optimized for random access (no read-ahead).
POSIX_FADV_SEQUENTIAL2intposix_fadvise() advice optimizing aggressive sequential read-ahead.
POSIX_FADV_WILLNEED3intposix_fadvise() advice that the range will be accessed soon (prefetch).
S_BLKSIZE512intBlock size (512 bytes) the kernel uses for st_blocks accounting.
S_IEXEC0100intBSD alias for S_IXUSR; owner-execute permission bit.
S_IFBLK0060000intst_mode type bits identifying a block-special file.
S_IFCHR0020000intst_mode type bits identifying a character-special file.
S_IFDIR0040000intst_mode type bits identifying a directory.
S_IFIFO0010000intst_mode type bits identifying a FIFO (named pipe).
S_IFLNK0120000intst_mode type bits identifying a symbolic link.
S_IFMT0170000intst_mode mask extracting the file-type bits (S_IF*).
S_IFREG0100000intst_mode type bits identifying a regular file.
S_IFSOCK0140000intst_mode type bits identifying a socket.
S_IREAD0400intBSD alias for S_IRUSR; owner-read permission bit.
S_IRGRP(0400 >> 3)intst_mode permission bit granting read to the group.
S_IROTH((0400 >> 3) >> 3)intst_mode permission bit granting read to others.
S_IRUSR0400intst_mode permission bit granting read to the owner. See also: S_IREAD (BSD alias for the same permission bit.).
S_IRWXG((0400|0200|0100) >> 3)intst_mode permission bits granting read/write/execute to the group.
S_IRWXO(((0400|0200|0100) >> 3) >> 3)intst_mode permission bits granting read/write/execute to others.
S_IRWXU(0400|0200|0100)intst_mode permission bits granting read/write/execute to the owner.
S_ISGID02000intst_mode permission bit (02000) for the set-group-ID flag.
S_ISUID04000intst_mode permission bit (04000) for the set-user-ID flag.
S_ISVTX01000intst_mode permission bit (01000) for the sticky-bit flag.
S_IWGRP(0200 >> 3)intst_mode permission bit granting write to the group.
S_IWOTH((0200 >> 3) >> 3)intst_mode permission bit granting write to others.
S_IWRITE0200intBSD alias for S_IWUSR; owner-write permission bit.
S_IWUSR0200intst_mode permission bit granting write to the owner. See also: S_IWRITE (BSD alias for the same permission bit.).
S_IXGRP(0100 >> 3)intst_mode permission bit granting execute to the group.
S_IXOTH((0100 >> 3) >> 3)intst_mode permission bit granting execute to others.
S_IXUSR0100intst_mode permission bit granting execute to the owner. See also: S_IEXEC (BSD alias for the same permission bit.).
UTIME_NOW((1l << 30) - 1l)intutimensat() timestamp sentinel (1<<30 - 1) meaning “set to current time”.
UTIME_OMIT((1l << 30) - 2l)intutimensat() timestamp sentinel (1<<30 - 2) meaning “leave unchanged”.
_BITS_STAT_H1intInclude guard for glibc <bits/stat.h> (st_mode/stat layout bits).
_BITS_STRUCT_STAT_H1intInclude guard for glibc <bits/struct_stat.h> (struct stat layout).
_FCNTL_H1intInclude guard for glibc <fcntl.h> (file control constants).
_STATBUF_ST_BLKSIZE“macroglibc-internal config guard for the presence of st_blksize.
_STATBUF_ST_NSEC“macroglibc-internal config guard for st_*tim.tv_nsec presence.
_STATBUF_ST_RDEV“macroglibc-internal config guard for the presence of st_rdev.
_SYS_STAT_H1intInclude guard for glibc <sys/stat.h> (stat() and file modes).
__F_GETOWN9intglibc-internal request mapping to fcntl() F_GETOWN.
__F_GETOWN_EX16intglibc-internal request mapping to fcntl() F_GETOWN_EX (pid_type struct).
__F_GETSIG11intglibc-internal request mapping to fcntl() F_GETSIG.
__F_SETOWN8intglibc-internal request mapping to fcntl() F_SETOWN.
__F_SETOWN_EX15intglibc-internal request mapping to fcntl() F_SETOWN_EX (pid_type struct).
__F_SETSIG10intglibc-internal request mapping to fcntl() F_SETSIG.
__O_CLOEXEC02000000intglibc-internal raw kernel bit backing O_CLOEXEC.
__O_DIRECT040000intglibc-internal raw kernel bit backing O_DIRECT (direct I/O).
__O_DIRECTORY0200000intglibc-internal raw kernel bit backing O_DIRECTORY.
__O_DSYNC010000intglibc-internal raw kernel bit backing O_DSYNC.
__O_LARGEFILE0intglibc-internal LFS flag bits for large-file access.
__O_NOATIME01000000intglibc-internal raw kernel bit backing O_NOATIME (do not update access time).
__O_NOFOLLOW0400000intglibc-internal raw kernel bit backing O_NOFOLLOW.
__O_PATH010000000intglibc-internal raw kernel bit backing O_PATH (fd with no I/O capability).
__O_TMPFILE(020000000 | 0200000)intglibc-internal raw kernel bit backing O_TMPFILE (unnamed temporary inode).
__POSIX_FADV_DONTNEED4intglibc-internal raw value backing POSIX_FADV_DONTNEED.
__POSIX_FADV_NOREUSE5intglibc-internal raw value backing POSIX_FADV_NOREUSE.
__S_IEXEC0100intglibc-internal raw value backing S_IEXEC (owner-execute).
__S_IFBLK0060000intglibc-internal raw value backing S_IFBLK (block device type).
__S_IFCHR0020000intglibc-internal raw value backing S_IFCHR (char device type).
__S_IFDIR0040000intglibc-internal raw value backing S_IFDIR (directory type).
__S_IFIFO0010000intglibc-internal raw value backing S_IFIFO (FIFO type).
__S_IFLNK0120000intglibc-internal raw value backing S_IFLNK (symlink type).
__S_IFMT0170000intglibc-internal raw value backing S_IFMT (type mask).
__S_IFREG0100000intglibc-internal raw value backing S_IFREG (regular file type).
__S_IFSOCK0140000intglibc-internal raw value backing S_IFSOCK (socket type).
__S_IREAD0400intglibc-internal raw value backing S_IREAD (owner-read).
__S_ISGID02000intglibc-internal raw value backing S_ISGID (set-group-ID).
__S_ISUID04000intglibc-internal raw value backing S_ISUID (set-user-ID).
__S_ISVTX01000intglibc-internal raw value backing S_ISVTX (sticky bit).
__S_IWRITE0200intglibc-internal raw value backing S_IWRITE (owner-write).
st_atimest_atim.tv_secmacroSymbolic access to st_atim.tv_sec (last access time, seconds).
st_ctimest_ctim.tv_secmacroSymbolic access to st_ctim.tv_sec (status-change time, seconds).
st_mtimest_mtim.tv_secmacroSymbolic access to st_mtim.tv_sec (last modification time, seconds).

Error Codes

errno constants (E*) returned by the C library on Linux x86-64, including historical aliases (EDEADLOCK, EWOULDBLOCK, ENOTSUP). Values follow the arch-specific <asm-generic/errno*.h> numbering.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
E2BIG7intArgument list passed to execve() exceeds the ARG_MAX limit.
EACCES13intOperation denied because the caller lacks required permissions.
EADDRINUSE98intbind() failed because the socket address is already in use.
EADDRNOTAVAIL99intRequested socket address is not available on this interface.
EADV68intAdvertise device was not found (STREAMS).
EAFNOSUPPORT97intSocket address family is not supported by this protocol.
EAGAIN11intOperation would block now; advise retrying later on the resource. See also: EWOULDBLOCK (Historical alias with the same value.).
EALREADY114intNon-blocking connect() is already in progress for this socket.
EBADE52intInvalid exchange (Transarc DFS).
EBADF9intFile descriptor argument does not refer to an open file.
EBADFD77intFile descriptor does not match the expected object type or state.
EBADMSG74intReceived a corrupt or out-of-band message (STREAMS).
EBADR53intInvalid request descriptor (Transarc DFS).
EBADRQC56intInvalid request code (Transarc DFS).
EBADSLT57intInvalid slot number (Transarc DFS).
EBFONT59intBad font file format (X/Open networking).
EBUSY16intResource is busy; another object is using it exclusively.
ECANCELED125intAsynchronous request was canceled before completion.
ECHILD10intwait() found no child process for this caller to collect.
ECHRNG44intChannel number out of range (STREAMS).
ECOMM70intCommunication link to remote selector went down (STREAMS).
ECONNABORTED103intTCP connection was aborted locally, dropping open data.
ECONNREFUSED111intTCP connection attempt was rejected by the remote host.
ECONNRESET104intRemote peer reset the TCP connection without closing gracefully.
EDEADLK35intLocking operation would deadlock; avoided by the detection mechanism. See also: EDEADLOCK (Historical alias with the same value.).
EDEADLOCK35intHistorical alias of EDEADLK; arguments would deadlock.
EDESTADDRREQ89intSocket operation requires a destination address arg.
EDOM33intMath function argument is outside the valid domain.
EDOTDOT73intRFS-specific error resembling a cross-device link problem.
EDQUOT122intDisk quota exceeded while writing a file or creating an object.
EEXIST17intopen() with O_CREAT
EFAULT14intSystem call received a pointer that points outside user memory.
EFBIG27intwrite() would make a file larger than the system maximum size.
EFSBADCRC74intFilesystem detected an unrecoverable CRC error on disk.
EFSCORRUPTED117intFilesystem is corrupted and must be remounted or repaired.
EFTYPE134intFile has an incorrect or unrecognized type for the operation.
EHOSTDOWN112intRemote host is down and cannot accept connections.
EHOSTUNREACH113intNo route exists to the destination host or it refuses.
EHWPOISON133intPage or memory location has been poisoned by the hardware.
EIDRM43intIPC identifier was removed while the operation was pending.
EILSEQ84intInput contains an invalid or untranslatable multibyte character.
EINPROGRESS115intNon-blocking operation started and will complete asynchronously.
EINTR4intBlocking system call was interrupted by a signal delivery.
EINVAL22intArgument to a function or system call is invalid.
EIO5intLow-level I/O error occurred while accessing a device or block.
EISCONN106intSocket is already connected; connect()/accept() cannot proceed.
EISDIR21intOperation requiring a regular file was given a directory.
EISNAM120intNamed file is a special XFS device, not a regular file.
EKEYEXPIRED127intCryptographic key used by the operation has expired.
EKEYREJECTED129intCryptographic key was rejected by the kernel key subsystem.
EKEYREVOKED128intCryptographic key used by the operation was revoked.
EL2HLT51intLevel 2 halt (STREAMS).
EL2NSYNC45intLevel 2 not synchronized (STREAMS).
EL3HLT46intLevel 3 halted (STREAMS).
EL3RST47intLevel 3 process was reset (STREAMS).
ELIBACC79intCannot access a necessary shared library.
ELIBBAD80intAccessing a corrupted or non-executable shared library.
ELIBEXEC83intLibrary is not of executable type.
ELIBMAX82intToo many shared libraries were opened simultaneously.
ELIBSCN81intBad or unloadable .lib section in a shared library.
ELNRNG48intLink number out of range (STREAMS).
ELOOP40intToo many symbolic links were traversed resolving a path.
EMEDIUMTYPE124intWrong medium type inserted in the device.
EMFILE24intProcess has reached the per-process open-file-descriptor limit.
EMLINK31intOperation would exceed the maximum hard-link count for the file.
EMSGSIZE90intSocket datagram is larger than the protocol or buffer allows.
EMULTIHOP72intOperation would require multiple on-link hops (STREAMS).
ENAMETOOLONG36intPathname component or full path exceeds NAME_MAX/PATH_MAX.
ENAVAIL119intNo XFS attribute named by the request existed.
ENETDOWN100intNetwork interface is down; send() failed at the link level.
ENETRESET102intConnection was dropped and reset by the network stack.
ENETUNREACH101intNetwork segment is unreachable from this host.
ENFILE23intSystem-wide open-file table is full.
ENOANO55intNo anode available (Transarc DFS).
ENOBUFS105intNo buffer space available in the kernel for the operation.
ENOCSI50intNo CSI structure available (STREAMS).
ENODATA61intNo data message is available on the STREAMS read queue.
ENODEV19intNo such device exists; or device is not present.
ENOENT2intPath component does not exist in the filesystem.
ENOEXEC8intFile has an unrecognizable or invalid executable format.
ENOKEY126intRequired encryption key is not available to the kernel.
ENOLCK37intSystem limit on record locks has been reached.
ENOLINK67intLink has been severed (STREAMS).
ENOMEDIUM123intNo medium found in the device; insert one and retry.
ENOMEM12intKernel could not allocate enough memory for the operation.
ENOMSG42intNo message of the requested type on the message queue.
ENONET64intMachine is not on the network (STREAMS/RFS).
ENOPKG65intPackage not installed (STREAMS/RFS).
ENOPROTOOPT92intUnknown or invalid socket option requested via setsockopt().
ENOSPC28intFilesystem is full; no space left for data or metadata.
ENOSR63intOut of STREAMS resources.
ENOSTR60intDevice is not a stream, or stream type is wrong.
ENOSYS38intRequested system call or feature is not implemented.
ENOTBLK15intBlock-device operation was applied to a non-block device.
ENOTCONN107intSocket is not connected; data transfer requires a connection.
ENOTDIR20intPath component that should be a directory is not one.
ENOTEMPTY39intDirectory is not empty; rmdir() refuses to remove it.
ENOTNAM118intNamed file is not a recognized XFS node type.
ENOTRECOVERABLE131intStateful operation cannot be recovered after persistent failure.
ENOTSOCK88intFile descriptor passed to a socket call is not a socket.
ENOTSUP95intRequested operation or feature is not supported.
ENOTTY25intioctl() was invoked on a descriptor that is not a terminal.
ENOTUNIQ76intName was not unique on the network (RFS).
ENXIO6intNo such device or address; device does not respond.
EOPNOTSUPP95intSocket option or operation is not supported by this protocol. See also: ENOTSUP (Alias with the same value.).
EOVERFLOW75intResult does not fit in the supplied variable or type.
EOWNERDEAD130intOwner of a robust lock died while holding the lock.
EPERM1intOperation not permitted, even to the current process.
EPFNOSUPPORT96intProtocol family is not supported by the system.
EPIPE32intwrite() to a pipe or socket with no reader; SIGPIPE also sent.
EPROTO71intProtocol error occurred during a network conversation.
EPROTONOSUPPORT93intRequested socket protocol is not supported.
EPROTOTYPE91intWrong socket type for the requested protocol.
ERANGE34intMath or representation result is out of the representable range.
EREMCHG78intRemote address changed (RFS).
EREMOTE66intObject is on a remote machine and cannot be accessed locally.
EREMOTEIO121intRemote I/O error occurred accessing a remote filesystem.
ERESTART85intSystem call should be restarted after handling a signal.
ERFKILL132intWireless device was disabled by rfkill, making it unusable.
EROFS30intWrite attempted on a read-only filesystem.
ESHUTDOWN108intCannot send after the socket transport endpoint was shut down.
ESOCKTNOSUPPORT94intSocket type is not supported by this protocol family.
ESPIPE29intlseek() attempted on a descriptor that cannot be repositioned.
ESRCH3intNo such process found for a PID or process-group query.
ESRMNT69intSrmount error (RFS).
ESTALE116intNFS file handle is stale; file or share disappeared.
ESTRPIPE86intStreams pipe error (STREAMS).
ETIME62intTimer (STREAMS) expired or elapsed deadline was exceeded.
ETIMEDOUT110intConnection attempt or operation timed out while waiting.
ETOOMANYREFS109intToo many references; splicing cannot be completed.
ETXTBSY26intAttempt to write to a file currently being executed.
EUCLEAN117intStructure needs cleaning; filesystem detected inconsistency.
EUNATCH49intProtocol driver not attached (STREAMS).
EUSERS87intToo many users already logged in; table is full.
EWOULDBLOCK11intAlias for EAGAIN; non-blocking operation would block.
EXDEV18intrename()/link() attempted across two different filesystems.
EXFULL54intExchange full (STREAMS).
_ASM_GENERIC_ERRNO_BASE_H“macroInclude guard for the kernel generic errno base header.
_ASM_GENERIC_ERRNO_H“macroInclude guard for the kernel generic errno definitions header.
_BITS_ERRNO_H1intInclude guard for glibc <bits/errno.h> (errno declarations).
_ERRNO_H1intInclude guard for glibc <errno.h>.
errno(*__errno_location ())intThread-local variable holding the last error code set by a call.

Limits & Types

Compile-time and runtime limits (*_MAX, *_MIN, CHAR_BIT, NGROUPS_MAX, ARG_MAX) and integer type guards (__SIZEOF_*_T, size/ssize/pointer typedef guards, __WORDSIZE, __TIMESIZE). Rows come from <limits.h>, <bits/types.h>, <sys/types.h>, and <stdint.h>.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
AIO_PRIO_DELTA_MAX20intMaximum allowed priority delta for asynchronous I/O requests.
BC_BASE_MAX99intMaximum input base accepted by the bc utility.
BC_DIM_MAX2048intMaximum number of array dimensions supported by bc.
BC_SCALE_MAX99intMaximum scale (fractional digits) value supported by bc.
BC_STRING_MAX1000intMaximum length of a string constant accepted by bc.
BITINT_MAXWIDTH65535intMaximum number of bits usable in a _BitInt(N) type.
BOOL_MAX1intLargest value representable by _Bool (1).
BOOL_WIDTH1intNumber of bits in a _Bool object.
CHARCLASS_NAME_MAX2048intMaximum number of bytes in a character class name.
CHAR_BIT8intNumber of bits in a char object.
CHAR_MAX0x7fintLargest value representable by char.
CHAR_MIN(-0x7f - 1)intSmallest value representable by char.
CHAR_WIDTH8intNumber of bits in a char object.
COLL_WEIGHTS_MAX255intMaximum number of weights assignable to a collating element.
DELAYTIMER_MAX2147483647intMaximum number of times a timer can be delayed before expiry.
EXPR_NEST_MAX32intMaximum nesting depth of expressions in bc.
HOST_NAME_MAX64intMaximum length in bytes of a host name.
INT16_MAX(32767)intLargest integer value of type int16_t.
INT16_MIN(-32767-1)intSmallest integer value of type int16_t.
INT16_WIDTH16intNumber of bits used to represent values of type INT16.
INT32_MAX(2147483647)intLargest integer value of type int32_t.
INT32_MIN(-2147483647-1)intSmallest integer value of type int32_t.
INT32_WIDTH32intNumber of bits used to represent values of type INT32.
INT64_MAX(9223372036854775807L)intLargest integer value of type int64_t.
INT64_MIN(-9223372036854775807L -1)intSmallest integer value of type int64_t.
INT64_WIDTH64intNumber of bits used to represent values of type INT64.
INT8_MAX(127)intLargest integer value of type int8_t.
INT8_MIN(-128)intSmallest integer value of type int8_t.
INT8_WIDTH8intNumber of bits used to represent values of type INT8.
INTMAX_MAX(9223372036854775807L)intLargest integer value of type intmax_t.
INTMAX_MIN(-9223372036854775807L -1)intSmallest integer value of type intmax_t.
INTMAX_WIDTH64intNumber of bits used to represent values of type INTMAX.
INTPTR_MAX(9223372036854775807L)intLargest integer value of type intptr_t.
INTPTR_MIN(-9223372036854775807L-1)intSmallest integer value of type intptr_t.
INTPTR_WIDTH64intNumber of bits used to represent values of type INTPTR.
INT_FAST16_MAX(9223372036854775807L)intLargest integer value of type int_fast16_t.
INT_FAST16_MIN(-9223372036854775807L-1)intSmallest integer value of type int_fast16_t.
INT_FAST16_WIDTH64intNumber of bits used to represent values of type INT_FAST16.
INT_FAST32_MAX(9223372036854775807L)intLargest integer value of type int_fast32_t.
INT_FAST32_MIN(-9223372036854775807L-1)intSmallest integer value of type int_fast32_t.
INT_FAST32_WIDTH64intNumber of bits used to represent values of type INT_FAST32.
INT_FAST64_MAX(9223372036854775807L)intLargest integer value of type int_fast64_t.
INT_FAST64_MIN(-9223372036854775807L -1)intSmallest integer value of type int_fast64_t.
INT_FAST64_WIDTH64intNumber of bits used to represent values of type INT_FAST64.
INT_FAST8_MAX(127)intLargest integer value of type int_fast8_t.
INT_FAST8_MIN(-128)intSmallest integer value of type int_fast8_t.
INT_FAST8_WIDTH8intNumber of bits used to represent values of type INT_FAST8.
INT_LEAST16_MAX(32767)intLargest integer value of type int_least16_t.
INT_LEAST16_MIN(-32767-1)intSmallest integer value of type int_least16_t.
INT_LEAST16_WIDTH16intNumber of bits used to represent values of type INT_LEAST16.
INT_LEAST32_MAX(2147483647)intLargest integer value of type int_least32_t.
INT_LEAST32_MIN(-2147483647-1)intSmallest integer value of type int_least32_t.
INT_LEAST32_WIDTH32intNumber of bits used to represent values of type INT_LEAST32.
INT_LEAST64_MAX(9223372036854775807L)intLargest integer value of type int_least64_t.
INT_LEAST64_MIN(-9223372036854775807L -1)intSmallest integer value of type int_least64_t.
INT_LEAST64_WIDTH64intNumber of bits used to represent values of type INT_LEAST64.
INT_LEAST8_MAX(127)intLargest integer value of type int_least8_t.
INT_LEAST8_MIN(-128)intSmallest integer value of type int_least8_t.
INT_LEAST8_WIDTH8intNumber of bits used to represent values of type INT_LEAST8.
INT_MAX0x7fffffffintLargest integer value representable by int.
INT_MIN(-0x7fffffff - 1)intSmallest integer value representable by int.
INT_WIDTH32intNumber of bits used to represent values of type INT.
LINE_MAX2048intMaximum length in bytes of a command input line (utilities).
LLONG_MAX0x7fffffffffffffffLLlongLargest integer value representable by long long int.
LLONG_MIN(-0x7fffffffffffffffLL - 1LL)intSmallest integer value representable by long long int.
LLONG_WIDTH64intNumber of bits used to represent values of type LLONG.
LOGIN_NAME_MAX256intMaximum length in bytes of a login name.
LONG_MAX0x7fffffffffffffffLlongLargest integer value representable by long int.
LONG_MIN(-0x7fffffffffffffffL - 1L)intSmallest integer value representable by long int.
LONG_WIDTH64intNumber of bits used to represent values of type LONG.
MAX_CANON255intMaximum bytes in a canonical input line on a terminal.
MAX_INPUT255intMaximum bytes available on a terminal input queue.
MB_LEN_MAX16intMaximum length in bytes of a multibyte character in any locale.
MQ_PRIO_MAX32768intMaximum message-priority level allowed for POSIX message queues.
NAME_MAX255intMaximum bytes in a single filename component.
NGROUPS_MAX65536intMaximum number of supplementary group IDs per process.
PATH_MAX4096intMaximum bytes in a full pathname, including the initial slash.
PIPE_BUF4096intMaximum bytes guaranteed atomic in a single pipe write.
PTHREAD_DESTRUCTOR_ITERATIONS4intMaximum attempts to destroy a thread key with a destructor.
PTHREAD_KEYS_MAX1024intMaximum number of per-process thread-specific data keys.
PTHREAD_STACK_MIN16384intMinimum size in bytes of a thread stack (via attributes).
PTRDIFF_MAX(9223372036854775807L)intLargest value representable by the ptrdiff_t difference type.
PTRDIFF_MIN(-9223372036854775807L-1)intSmallest value representable by the ptrdiff_t difference type.
PTRDIFF_WIDTH64intNumber of bits used to represent values of type PTRDIFF.
RE_DUP_MAX(0x7fff)intMaximum number of repeated matches allowed by regex repetition.
RTSIG_MAX32intMaximum number of realtime signals reserved by the system.
SCHAR_MAX0x7fintLargest integer value representable by signed char.
SCHAR_MIN(-0x7f - 1)intSmallest integer value representable by signed char.
SCHAR_WIDTH8intNumber of bits used to represent values of type SCHAR.
SEM_VALUE_MAX(2147483647)intMaximum value allowed in a POSIX semaphore.
SHRT_MAX0x7fffintLargest integer value representable by short int.
SHRT_MIN(-0x7fff - 1)intSmallest integer value representable by short int.
SHRT_WIDTH16intNumber of bits used to represent values of type SHRT.
SIG_ATOMIC_MAX(2147483647)intLargest integer value representable by sig_atomic_t.
SIG_ATOMIC_MIN(-2147483647-1)intSmallest integer value representable by sig_atomic_t.
SIG_ATOMIC_WIDTH32intNumber of bits used to represent values of type SIG_ATOMIC.
SIZE_MAX(18446744073709551615UL)intLargest value representable by the size_t object-size type.
SIZE_WIDTH64intNumber of bits used to represent values of type SIZE.
SSIZE_MAX0x7fffffffffffffffLlongLargest value representable by the ssize_t object-size type.
TTY_NAME_MAX32intMaximum length in bytes of a terminal device name.
UCHAR_MAX(0x7f * 2 + 1)intLargest integer value representable by unsigned char.
UCHAR_WIDTH8intNumber of bits used to represent values of type UCHAR.
UINT16_MAX(65535)intLargest integer value of type uint16_t.
UINT16_WIDTH16intNumber of bits used to represent values of type UINT16.
UINT32_MAX(4294967295U)intLargest integer value of type uint32_t.
UINT32_WIDTH32intNumber of bits used to represent values of type UINT32.
UINT64_MAX(18446744073709551615UL)intLargest integer value of type uint64_t.
UINT64_WIDTH64intNumber of bits used to represent values of type UINT64.
UINT8_MAX(255)intLargest integer value of type uint8_t.
UINT8_WIDTH8intNumber of bits used to represent values of type UINT8.
UINTMAX_MAX(18446744073709551615UL)intLargest integer value of type uintmax_t.
UINTMAX_WIDTH64intNumber of bits used to represent values of type UINTMAX.
UINTPTR_MAX(18446744073709551615UL)intLargest integer value of type uintptr_t.
UINTPTR_WIDTH64intNumber of bits used to represent values of type UINTPTR.
UINT_FAST16_MAX(18446744073709551615UL)intLargest integer value of type uint_fast16_t.
UINT_FAST16_WIDTH64intNumber of bits used to represent values of type UINT_FAST16.
UINT_FAST32_MAX(18446744073709551615UL)intLargest integer value of type uint_fast32_t.
UINT_FAST32_WIDTH64intNumber of bits used to represent values of type UINT_FAST32.
UINT_FAST64_MAX(18446744073709551615UL)intLargest integer value of type uint_fast64_t.
UINT_FAST64_WIDTH64intNumber of bits used to represent values of type UINT_FAST64.
UINT_FAST8_MAX(255)intLargest integer value of type uint_fast8_t.
UINT_FAST8_WIDTH8intNumber of bits used to represent values of type UINT_FAST8.
UINT_LEAST16_MAX(65535)intLargest integer value of type uint_least16_t.
UINT_LEAST16_WIDTH16intNumber of bits used to represent values of type UINT_LEAST16.
UINT_LEAST32_MAX(4294967295U)intLargest integer value of type uint_least32_t.
UINT_LEAST32_WIDTH32intNumber of bits used to represent values of type UINT_LEAST32.
UINT_LEAST64_MAX(18446744073709551615UL)intLargest integer value of type uint_least64_t.
UINT_LEAST64_WIDTH64intNumber of bits used to represent values of type UINT_LEAST64.
UINT_LEAST8_MAX(255)intLargest integer value of type uint_least8_t.
UINT_LEAST8_WIDTH8intNumber of bits used to represent values of type UINT_LEAST8.
UINT_MAX(0x7fffffff * 2U + 1U)intLargest integer value representable by unsigned int.
UINT_WIDTH32intNumber of bits used to represent values of type UINT.
ULLONG_MAX(0x7fffffffffffffffLL * 2ULL + 1ULL)intLargest integer value representable by unsigned long long int.
ULLONG_WIDTH64intNumber of bits used to represent values of type ULLONG.
ULONG_MAX(0x7fffffffffffffffL * 2UL + 1UL)intLargest integer value representable by unsigned long int.
ULONG_WIDTH64intNumber of bits used to represent values of type ULONG.
USHRT_MAX(0x7fff * 2 + 1)intLargest integer value representable by unsigned short int.
USHRT_WIDTH16intNumber of bits used to represent values of type USHRT.
WCHAR_MAX0x7fffffffintLargest integer value representable by wchar_t.
WCHAR_MIN(-0x7fffffff - 1)intSmallest integer value representable by wchar_t.
WCHAR_WIDTH32intNumber of bits used to represent values of type WCHAR.
WINT_MAX(4294967295u)intLargest integer value representable by the wint_t wide-char integer type.
WINT_MIN(0u)intSmallest integer value representable by the wint_t wide-char integer type.
WINT_WIDTH32intNumber of bits used to represent values of type WINT.
XATTR_LIST_MAX65536intMaximum bytes in the list of extended attribute names.
XATTR_NAME_MAX255intMaximum bytes in a single extended attribute name.
XATTR_SIZE_MAX65536intMaximum bytes in a single extended attribute value.
_BITS_POSIX1_LIM_H1intInclude guard for glibc <bits/posix1_lim.h> (POSIX.1 limits).
_BITS_POSIX2_LIM_H1intInclude guard for glibc <bits/posix2_lim.h> (POSIX.2 limits).
_BITS_STDINT_LEAST_H1intInclude guard for glibc <bits/stdint-least.h>.
_BITS_WCHAR_H1intInclude guard for glibc <bits/wchar.h> (wchar_t/wint_t limits).
_GCC_LIMITS_H_“macroGCC-internal guard for the <limits.h> traversal chain.
_GCC_WRAP_STDINT_H“macroGCC-internal guard marking the wrapped <stdint.h>.
_LIBC_LIMITS_H_1intglibc-internal guard for the libc limits definitions.
_LIMITS_H___“macroGNU C library trailing guard terminator for <limits.h>.
_LINUX_LIMITS_H“macroInclude guard for the Linux kernel limits header.
_POSIX2_BC_BASE_MAX99intPOSIX.2 minimum guaranteed maximum base for bc.
_POSIX2_BC_DIM_MAX2048intPOSIX.2 minimum guaranteed maximum array dimensions for bc.
_POSIX2_BC_SCALE_MAX99intPOSIX.2 minimum guaranteed maximum scale for bc.
_POSIX2_BC_STRING_MAX1000intPOSIX.2 minimum guaranteed maximum string length for bc.
_POSIX2_CHARCLASS_NAME_MAX14intPOSIX.2 minimum maximum length of a character class name.
_POSIX2_COLL_WEIGHTS_MAX2intPOSIX.2 minimum maximum collating-element weights.
_POSIX2_EXPR_NEST_MAX32intPOSIX.2 minimum maximum expression nesting depth.
_POSIX2_LINE_MAX2048intPOSIX.2 minimum guaranteed maximum line length for utilities.
_POSIX2_RE_DUP_MAX255intPOSIX.2 minimum maximum regex repetition count.
_POSIX_AIO_LISTIO_MAX2intPOSIX minimum maximum requests in a single listio() call.
_POSIX_AIO_MAX1intPOSIX minimum maximum simultaneous asynchronous I/O operations.
_POSIX_ARG_MAX4096intPOSIX minimum maximum exec argument-list byte length.
_POSIX_CHILD_MAX25intPOSIX minimum maximum simultaneous child processes per user.
_POSIX_CLOCKRES_MIN20000000intPOSIX minimum maximum clock resolution, in nanoseconds (20 ms).
_POSIX_DELAYTIMER_MAX32intPOSIX minimum maximum overrun postponements of a timer.
_POSIX_HOST_NAME_MAX255intPOSIX minimum maximum host name length in bytes.
_POSIX_LINK_MAX8intPOSIX minimum maximum hard links to a single file.
_POSIX_LOGIN_NAME_MAX9intPOSIX minimum maximum login name length in bytes.
_POSIX_MAX_CANON255intPOSIX minimum maximum bytes in a canonical terminal line.
_POSIX_MAX_INPUT255intPOSIX minimum maximum bytes in a terminal input queue.
_POSIX_MQ_OPEN_MAX8intPOSIX minimum maximum open message queues per process.
_POSIX_MQ_PRIO_MAX32intPOSIX minimum maximum message-priority levels per queue.
_POSIX_NAME_MAX14intPOSIX minimum maximum filename length in bytes.
_POSIX_NGROUPS_MAX8intPOSIX minimum maximum supplementary group IDs per process.
_POSIX_OPEN_MAX20intPOSIX minimum maximum simultaneously open files per process.
_POSIX_PATH_MAX256intPOSIX minimum maximum full pathname length in bytes.
_POSIX_PIPE_BUF512intPOSIX minimum maximum bytes atomic in a pipe write.
_POSIX_RE_DUP_MAX255intPOSIX minimum maximum regex repetition count.
_POSIX_RTSIG_MAX8intPOSIX minimum maximum realtime signals reserved.
_POSIX_SEM_NSEMS_MAX256intPOSIX minimum maximum simultaneous open semaphores.
_POSIX_SEM_VALUE_MAX32767intPOSIX minimum maximum value of a counting semaphore.
_POSIX_SIGQUEUE_MAX32intPOSIX minimum maximum queued signals that can be sent.
_POSIX_SSIZE_MAX32767intPOSIX minimum maximum value of ssize_t.
_POSIX_STREAM_MAX8intPOSIX minimum maximum open standard I/O streams per process.
_POSIX_SYMLINK_MAX255intPOSIX minimum maximum bytes in a symbolic link path.
_POSIX_SYMLOOP_MAX8intPOSIX minimum maximum symbolic-link traversals resolving a path.
_POSIX_THREAD_DESTRUCTOR_ITERATIONS4intPOSIX minimum maximum thread-key destructor retries.
_POSIX_THREAD_KEYS_MAX128intPOSIX minimum maximum thread-specific data keys per process.
_POSIX_THREAD_THREADS_MAX64intPOSIX minimum maximum simultaneous threads per process.
_POSIX_TIMER_MAX32intPOSIX minimum maximum per-process timers.
_POSIX_TTY_NAME_MAX9intPOSIX minimum maximum terminal device name length.
_POSIX_TZNAME_MAX6intPOSIX minimum maximum time-zone name length in bytes.
_STDINT_H1intInclude guard for glibc <stdint.h>.
__GLIBC_USE_IEC_60559_BFP_EXT0intglibc flag: IEC 60559 binary floating-point extensions bit.
__GLIBC_USE_IEC_60559_BFP_EXT_C231intglibc flag: C23 IEC 60559 binary FP extensions enabled.
__GLIBC_USE_IEC_60559_EXT0intglibc flag: broader IEC 60559 integration bit.
__GLIBC_USE_IEC_60559_FUNCS_EXT0intglibc flag: IEC 60559 fused/required math function extensions.
__GLIBC_USE_IEC_60559_FUNCS_EXT_C231intglibc flag: C23 IEC 60559 function extensions enabled.
__GLIBC_USE_IEC_60559_TYPES_EXT0intglibc flag: IEC 60559 recommended types extension.
__GLIBC_USE_LIB_EXT20intglibc flag enabling the second library-extensions group.
__STDC_VERSION_LIMITS_H__202311LlongC23 version constant (202311L) for <limits.h>.
__STDC_VERSION_STDINT_H__202311LlongC23 version constant (202311L) for <stdint.h>.
__WCHAR_MAX0x7fffffffintGCC internal largest value representable by wchar_t.
__WCHAR_MIN(-0x7fffffff - 1)intGCC internal smallest value representable by wchar_t.

Standard Utilities

Standard I/O constants: printf / scanf length modifiers, LC_* locale categories, NULL, EOF, BUFSIZ, I/O redirection values, and errno-adjacent stream macros. Rows come from <stdio.h>, <locale/locale.h>, and related headers.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
BUFSIZ8192intSize (8192) of the default stdio stream buffer.
CLOCKS_PER_SEC((__clock_t) 1000000)intNumber of clock ticks per second reported by clock() (1,000,000).
CLOCK_BOOTTIME7intclockid_t clock including time the system spent suspended.
CLOCK_BOOTTIME_ALARM9intCLOCK_BOOTTIME alias whose expiry can wake a suspended system.
CLOCK_MONOTONIC1intclockid_t clock measuring time since some fixed, unspecified origin.
CLOCK_MONOTONIC_COARSE6intFaster, lower-resolution alias of CLOCK_MONOTONIC.
CLOCK_MONOTONIC_RAW4intCLOCK_MONOTONIC without NTP adjustment of the clock source.
CLOCK_PROCESS_CPUTIME_ID2intclockid_t clock measuring all CPU time of the calling process.
CLOCK_REALTIME0intclockid_t clock measuring wall-clock time since 1970-01-01 UTC.
CLOCK_REALTIME_ALARM8intCLOCK_REALTIME alias whose expiry can wake a suspended system.
CLOCK_REALTIME_COARSE5intFaster, lower-resolution alias of CLOCK_REALTIME.
CLOCK_TAI11intclockid_t clock measuring International Atomic Time (no leap seconds).
CLOCK_THREAD_CPUTIME_ID3intclockid_t clock measuring the CPU time of the calling thread.
EOF(-1)intstdin read result indicating end-of-file or read error.
EXIT_FAILURE1intArgument to exit() reporting an unsuccessful termination status.
EXIT_SUCCESS0intArgument to exit() reporting a successful termination status.
FILENAME_MAX4096intMaximum length of a filename that the implementation can open.
FOPEN_MAX16intMaximum number of simultaneously open stdio streams per process.
L_ctermid9intSize in bytes of the buffer needed to hold the controlling terminal name.
L_tmpnam20intMaximum bytes in a buffer used with tmpnam()/tempnam() names.
MB_CUR_MAX(__ctype_get_mb_cur_max ())intMaximum bytes per multibyte character in the current locale.
ONCE_FLAG_INIT{ 0 }macroInitializer for a pthread_once_t control variable.
P_tmpdir/tmpmacroDefault directory prefix used for temporary file names.
RAND_MAX2147483647intLargest value returned by rand() (2147483647).
TIMER_ABSTIME1intFlag for timer_settime()/clock_nanosleep() to use absolute time.
TIME_ACTIVE3intFlag for stime field: update atime and mtime optimistically.
TIME_MONOTONIC2intFlag for stime field: mark an untimed (monotonic) update.
TIME_THREAD_ACTIVE4intFlag marking that only the current thread sees the time change.
TIME_UTC1inttimespec_get() argument requesting UTC wall-clock time.
TMP_MAX238328intMaximum number of unique names tmpnam() can generate.
WCONTINUED8intwaitpid() flag additionally reporting a resumed (SIGCONT) child.
WEXITED4intwaitid() flag reporting children that have exited normally.
WNOHANG1intwaitpid()/waitid() flag returning immediately instead of blocking.
WNOWAIT0x01000000intwaitpid()/waitid() flag returning status without reaping the child.
WSTOPPED2intwaitpid()/waitid() flag reporting children stopped by signal delivery.
WUNTRACED2intwaitpid() flag reporting children stopped, including untraced ones.
_ALLOCA_H1intInclude guard for alloca() private header.
_BITS_FLOATN_COMMON_H“macroInclude guard for glibc <bits/floatn-common.h>.
_BITS_FLOATN_H“macroInclude guard for glibc <bits/floatn.h> (_FloatN types).
_BITS_STDIO_LIM_H1intInclude guard for glibc <bits/stdio_lim.h> (stdio limits).
_BITS_TIME_H1intInclude guard for glibc <bits/time.h>.
_BITS_TYPES_LOCALE_T_H1intInclude guard for glibc locale_t type definition header.
_BITS_TYPES___LOCALE_T_H1intInclude guard for glibc __locale_t type header.
_GCC_WCHAR_T“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_IOFBF0intsetvbuf() mode requesting fully buffered I/O.
_IOLBF1intsetvbuf() mode requesting line-buffered I/O.
_IONBF2intsetvbuf() mode requesting unbuffered I/O.
_IO_EOF_SEEN0x0010intInternal FILE flag recording that end-of-file was reached.
_IO_ERR_SEEN0x0020intInternal FILE flag recording that an I/O error occurred.
_IO_USER_LOCK0x8000intInternal FILE flag marking lock ownership external to stdio.
_PRINTF_NAN_LEN_MAX4intMaximum buffer length needed to print a NaN payload.
_STDIO_H1intInclude guard for glibc <stdio.h>.
_STDLIB_H1intInclude guard for glibc <stdlib.h>.
_TIME_H1intInclude guard for glibc <time.h>.
_T_WCHAR“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_T_WCHAR_“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_VA_LIST_DEFINED“macroCompiler-internal guard ensuring __gnuc_va_list is defined once.
_WCHAR_T“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_WCHAR_T_“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_WCHAR_T_DECLARED“macroCompiler-internal guard marking that wchar_t has been declared.
_WCHAR_T_DEFINED“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_WCHAR_T_DEFINED_“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
_WCHAR_T_H“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
__CFLOAT128_Complex _Float128macroType name for the complex _Float128 type.
__CFLOAT32_Complex _Float32macroType name for the complex _Float32 type.
__CFLOAT32X_Complex _Float32xmacroType name for the complex _Float32x type.
__CFLOAT64_Complex _Float64macroType name for the complex _Float64 type.
__CFLOAT64X_Complex _Float64xmacroType name for the complex _Float64x type.
__COMPAR_FN_T“macroInternal typedef for a comparison-function pointer type.
__DEFINED_wchar_t“macroCompiler-internal guard marking that wchar_t is already defined.
__FILE_defined1intGuard marking that the FILE type has been defined.
__GNUC_VA_LIST“macroCompiler-internal guard ensuring __gnuc_va_list is defined once.
__HAVE_DISTINCT_FLOAT1281int1 if _Float128 has a distinct representation from other floats.
__HAVE_DISTINCT_FLOAT128X0int1 if _Float128x has a distinct representation or is unsupported.
__HAVE_DISTINCT_FLOAT160int1 if _Float16 has a distinct representation from other floats.
__HAVE_DISTINCT_FLOAT320int1 if _Float32 has a distinct representation from other floats.
__HAVE_DISTINCT_FLOAT32X0int1 if _Float32x has a distinct representation from other floats.
__HAVE_DISTINCT_FLOAT640int1 if _Float64 has a distinct representation from other floats.
__HAVE_DISTINCT_FLOAT64X0int1 if _Float64x has a distinct representation from other floats.
__HAVE_FLOAT1281int1 when the compiler provides a conforming _Float128 type.
__HAVE_FLOAT128X0int1 when the compiler provides a conforming _Float128x type.
__HAVE_FLOAT128_UNLIKE_LDBL(1 && 64 != 113)int1 when _Float128 differs in format from long double.
__HAVE_FLOAT160int1 when the compiler provides a conforming _Float16 type.
__HAVE_FLOAT321int1 when the compiler provides a conforming _Float32 type.
__HAVE_FLOAT32X1int1 when the compiler provides a conforming _Float32x type.
__HAVE_FLOAT641int1 when the compiler provides a conforming _Float64 type.
__HAVE_FLOAT64X1int1 when the compiler provides a conforming _Float64x type.
__HAVE_FLOAT64X_LONG_DOUBLE1int1 if _Float64x is the same type as long double.
__HAVE_FLOATN_NOT_TYPEDEF1int1 when _FloatN types exist without a global typedef name.
__INT_WCHAR_T_H“macroCompiler-internal guard for wchar_t declarations.
__STDC_VERSION_STDIO_H__202311LlongC23 version constant (202311L) for <stdio.h>.
__STDC_VERSION_STDLIB_H__202311LlongC23 version constant (202311L) for <stdlib.h>.
__STDC_VERSION_TIME_H__202311LlongC23 version constant (202311L) for <time.h>.
__WALL0x40000000intwait4() flag waiting for both continued and terminated children.
__WCHAR_T“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
__WCHAR_T__“macroCompiler-internal guard preventing duplicate wchar_t typedefs.
__WCLONE0x80000000intwait4() flag also waiting for clone()-created (non-child) processes.
__WCOREFLAG0x80intWait status bit indicating a core dump for WIFSIGNALED().
__WNOTHREAD0x20000000intwait4() flag waiting only for children of the calling thread.
__W_CONTINUED0xffffintInternal bit flagging a continued child in the wait status.
____FILE_defined1intGuard marking that the FILE type has been defined.
_____fpos64_t_defined1intglibc-internal guard marking that fpos64_t has been defined (typedef).
_____fpos_t_defined1intglibc-internal guard marking that fpos_t has been defined (typedef).
____mbstate_t_defined1intglibc-internal guard marking that mbstate_t has been defined (typedef).
___int_wchar_t_h“macroCompiler-internal guard for wchar_t declarations.
__attr_dealloc_fclose__attribute__ ((__malloc__ (fclose, 1)))macroAttribute marking fclose() as the deallocator for fopencookie.
__cookie_io_functions_t_defined1intglibc-internal guard marking that cookie_io_functions_t has been defined (typedef).
__itimerspec_defined1intglibc-internal guard marking that struct itimerspec is defined.
__ldiv_t_defined1intglibc-internal guard marking that ldiv_t has been defined (typedef).
__lldiv_t_defined1intglibc-internal guard marking that lldiv_t has been defined (typedef).
__once_flag_defined1intglibc-internal guard marking that once_flag has been defined (typedef).
__struct_FILE_defined1intGuard marking that struct _IO_FILE is defined.
__struct_tm_defined1intglibc-internal guard marking that struct tm is defined.
__wchar_t__“macroCompiler-internal guard preventing duplicate wchar_t typedefs.

Epoll

Event-notification flags for epoll_wait(), control opcodes for epoll_ctl(), the epoll_create1() close-on-exec flag, and the ioctl requests for per-instance busy-poll parameters. Rows come from <sys/epoll.h> and <bits/epoll.h>.

Macro NameExact Compiled ValueC Data TypeDescription / Purpose
EPIOCGPARAMS2148043266intioctl request retrieving struct epoll_params (busy-poll settings) from an epoll fd.
EPIOCSPARAMS1074301441intioctl request applying struct epoll_params (busy-poll settings) to an epoll fd.
EPOLLERR8intEvent flag reporting an error condition on the watched file descriptor; always reported.
EPOLLET2147483648intEvent flag selecting edge-triggered instead of level-triggered readiness reporting.
EPOLLEXCLUSIVE268435456intEvent flag waking only one waiter when several epoll instances watch the same fd.
EPOLLHUP16intEvent flag reporting a hang-up on the watched file descriptor; always reported.
EPOLLIN1intEvent flag reporting that data is available to read.
EPOLLMSG1024intObsolete event flag; ignored by the kernel and never reported.
EPOLLONESHOT1073741824intEvent flag disarming the fd after one event until rearmed with EPOLL_CTL_MOD.
EPOLLOUT4intEvent flag reporting that the file descriptor is ready for writing.
EPOLLPRI2intEvent flag reporting urgent or priority data (for example TCP out-of-band data).
EPOLLRDBAND128intEvent flag reporting priority-band data ready to read.
EPOLLRDHUP8192intEvent flag reporting that the peer closed or shut down its write half.
EPOLLRDNORM64intEvent flag reporting normal data ready to read (overlaps EPOLLIN in practice).
EPOLLWAKEUP536870912intEvent flag preventing system suspend while the event is pending (needs CAP_BLOCK_SUSPEND).
EPOLLWRBAND512intEvent flag reporting priority-band data can be written.
EPOLLWRNORM256intEvent flag reporting normal data can be written.
EPOLL_CLOEXEC524288intepoll_create1() flag setting close-on-exec on the returned epoll file descriptor.
EPOLL_CTL_ADD1intepoll_ctl() operation registering a file descriptor with an epoll instance.
EPOLL_CTL_DEL2intepoll_ctl() operation removing a file descriptor from an epoll instance.
EPOLL_CTL_MOD3intepoll_ctl() operation changing the event mask of a registered file descriptor.
EPOLL_IOC_TYPE138intioctl type byte (0x8A) used by the epoll busy-poll parameter requests.