Crate libc

source · []
Expand description

libc - Raw FFI bindings to platforms’ system libraries

Documentation for other platforms.

Structs

af_alg_ivDeprecated
WARNING: The PartialEq, Eq and Hash implementations of this type are unsound and will be removed in the future.

Enums

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

Constants

maximum number of services provided on the same listening port
ENOATTRDeprecated
IP6 Auth Header
IP Payload Comp. Protocol
IP6 destination option
exterior gateway protocol
encapsulation header
IP6 Encap Sec. Payload
IP6 fragmentation header
General Routing Encap.
Hop-by-hop option header
group mgmt protocol
for compatibility
IPPROTO_MAXDeprecated
Multipath TCP
IP6 no next header
Protocol indep. multicast
raw IP packet
IP6 routing header
resource reservation
tp-4 w/ class negotiation
SIGUNUSEDDeprecated

Functions

abs
acct
atof
atoi
atol
bind
brk
dup
dup2
dup3
exit
feof
fork
free
ftok
glob
GNU version of basename(3), defined in string.h.
iopl
kill
labs
link
mmap
nice
open
pipe
poll
POSIX version of basename(3), defined in libgen.h.
puts
rand
read
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/
recv
sbrk
send
stat
sync
tee
time
vforkDeprecated
wait

Type Definitions

Unions