Crate libc

source · []
Expand description

libc - Raw FFI bindings to platforms’ system libraries

Documentation for other platforms.

Structs

Enums

Equivalent to C’s void type when used as a [pointer].

Constants

sysctl placeholder for (FAST_)IPSEC
IP6 Auth Header
Common Address Resolution Protocol
last return value of *_input(), meaning “all job for this pkt is done”.
IP6 destination option
exterior gateway protocol
encapsulation header
ISO cnlp
IP6 Encap Sec. Payload
Ethernet-in-IP
IP6 fragmentation header
gateway^2 (deprecated)
General Routing Encap.
Hop-by-hop option header
group mgmt protocol
IP Payload Comp. Protocol
for compatibility
IP Mobility RFC 2004
IP6 no next header
Protocol indep. multicast
IP6 routing header
resource reservation
tp-4 w/ class negotiation
VRRP RFC 2338
RLIM_NLIMITSDeprecated

Functions

The 64-bit libc on Solaris and illumos only has readdir_r. If a 32-bit Solaris or illumos target is ever created, it should use __posix_readdir_r. See libc(3LIB) on Solaris or illumos: https://illumos.org/man/3lib/libc https://docs.oracle.com/cd/E36784_01/html/E36873/libc-3lib.html https://www.unix.com/man-page/opensolaris/3LIB/libc/

Type Definitions

Unions