[][src]Crate libc

libc - Raw FFI bindings to platforms' system libraries

Documentation for other platforms.

Structs

sockaddr
stat
timespec
timeval
tm
utimbuf

Enums

FILE
c_void

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

fpos_t
timezone

Constants

BUFSIZ
E2BIG
EACCES
EAGAIN
EBADF
EBUSY
ECHILD
EDEADLK
EDEADLOCK
EDOM
EEXIST
EFAULT
EFBIG
EILSEQ
EINTR
EINVAL
EIO
EISDIR
EMFILE
EMLINK
ENAMETOOLONG
ENFILE
ENODEV
ENOENT
ENOEXEC
ENOLCK
ENOMEM
ENOSPC
ENOSYS
ENOTDIR
ENOTEMPTY
ENOTTY
ENXIO
EOF
EPERM
EPIPE
ERANGE
EROFS
ESPIPE
ESRCH
EXDEV
EXIT_FAILURE
EXIT_SUCCESS
FILENAME_MAX
FOPEN_MAX
INT_MAX
INT_MIN
LC_ALL
LC_COLLATE
LC_CTYPE
LC_MONETARY
LC_NUMERIC
LC_TIME
L_tmpnam
NSIG
O_APPEND
O_BINARY
O_CREAT
O_EXCL
O_NOINHERIT
O_RDONLY
O_RDWR
O_TEXT
O_TRUNC
O_WRONLY
RAND_MAX
SEEK_CUR
SEEK_END
SEEK_SET
SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM
SIG_ERR
STDERR_FILENO
STDIN_FILENO
STDOUT_FILENO
STRUNCATE
S_IEXEC
S_IFCHR
S_IFDIR
S_IFMT
S_IFREG
S_IREAD
S_IWRITE
TMP_MAX
_IOFBF
_IOLBF
_IONBF

Functions

_exit
abort
abs
accept
access
atexit
atof
atoi
bind
calloc
chdir
chmod
close
commit
connect
creat
dup
dup2
execv
execve
execvp
execvpe
exit
fclose
fdopen
feof
ferror
fflush
fgetc
fgetpos
fgets
fileno
fopen
fputc
fputs
fread
free
freopen
fseek
fsetpos
fstat
ftell
fwrite
get_osfhandle
getchar
getcwd
getenv
getpeername
getpid
getsockname
getsockopt
isalnum
isalpha
isatty
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
labs
listen
lseek
malloc
memchr
memcmp
memcpy
memmove
memset
mkdir
open
open_osfhandle
pclose
perror
pipe
popen
putchar
puts
raise
rand
read
realloc
recvfrom
remove
rename
rewind
rmdir
sendto
setbuf
setlocale
setsockopt
setvbuf
signal
socket
srand
stat
strcasecmp
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strdup
strerror
strlen
strncasecmp
strncat
strncmp
strncpy
strnlen
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
system
tmpfile
tolower
toupper
ungetc
unlink
wchmod
wcslen
wcstombs
wopen
write
wrmdir
wsetlocale
wstat
wutime

Type Definitions

SOCKET
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
clock_t
dev_t
ino_t
int8_tDeprecated
int16_tDeprecated
int32_tDeprecated
int64_tDeprecated
intmax_t
intptr_t
off_t
ptrdiff_t
sighandler_t
size_t
ssize_t
time64_t
time_t
uint8_tDeprecated
uint16_tDeprecated
uint32_tDeprecated
uint64_tDeprecated
uintmax_t
uintptr_t
wchar_t