[][src]Crate libc

libc - Raw FFI bindings to platforms' system libraries

Documentation for other platforms.

Structs

addrinfo
in6_addr
in_addr
pthread_attr_t
sockaddr
sockaddr_in
sockaddr_in6
sockaddr_storage

Enums

FILE
c_void

Equivalent to C's void type when used as a pointer.

fpos_t

Constants

AF_INET
AF_INET6
EACCES
EADDRINUSE
EADDRNOTAVAIL
EAGAIN
EAI_SYSTEM
ECONNABORTED
ECONNREFUSED
ECONNRESET
EEXIST
EINTR
EINVAL
ENOENT
ENOTCONN
EPERM
EPIPE
ETIMEDOUT
EWOULDBLOCK
EXIT_FAILURE
EXIT_SUCCESS
INT_MAX
INT_MIN
PTHREAD_STACK_MIN
SOCK_DGRAM
SOCK_STREAM
_SC_NPROCESSORS_ONLN
_SC_PAGESIZE

Functions

_exit
abort
abs
arc4random_buf
atexit
atof
atoi
calloc
exit
fclose
feof
ferror
fflush
fgetc
fgetpos
fgets
fopen
fputc
fputs
fread
free
freeaddrinfo
freopen
fseek
fsetpos
ftell
fwrite
gai_strerror
getaddrinfo
getchar
getenv
getline
getsockopt
isalnum
isalpha
isblank
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
labs
malloc
memchr
memcmp
memcpy
memmove
memset
perror
posix_memalign
pthread_attr_destroy
pthread_attr_init
pthread_attr_setstacksize
pthread_create
pthread_detach
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_delete
pthread_setspecific
putchar
puts
rand
realloc
remove
rename
rewind
send
setbuf
setvbuf
srand
strcasecmp
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strdup
strerror
strlen
strncasecmp
strncat
strncmp
strncpy
strnlen
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
sysconf
system
tmpfile
tolower
toupper
ungetc
wcslen
wcstombs
wmemchr

Type Definitions

c_char
c_double
c_float
c_int
c_long
c_longlong
c_schar
c_short
c_uchar
c_uint
c_ulong
c_ulonglong
c_ushort
in_addr_t
in_port_t
int8_tDeprecated
int16_tDeprecated
int32_tDeprecated
int64_tDeprecated
intmax_t
intptr_t
pthread_key_t
pthread_t
ptrdiff_t
sa_family_t
size_t
socklen_t
ssize_t
time_t
uint8_tDeprecated
uint16_tDeprecated
uint32_tDeprecated
uint64_tDeprecated
uintmax_t
uintptr_t
wchar_t