Docs.rs
libc-0.2.31
libc 0.2.31
Docs.rs crate page
MIT/Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
alexcrichton
huonw
github:rust-lang:libs
joshtriplett
gnzlbg
rust-lang-owner
JohnTitor
github:rust-lang:libc
Dependencies
Versions
Go to latest version
Platform
i686-apple-darwin
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate libc
Structs
Enums
Constants
Functions
Type Definitions
Crate
libc
[
−
]
[src]
Crate docs
Structs
stat
timespec
timeval
tm
utimbuf
Enums
FILE
c_void
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
LC_ALL
LC_COLLATE
LC_CTYPE
LC_MONETARY
LC_NUMERIC
LC_TIME
L_tmpnam
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
STRUNCATE
S_IEXEC
S_IFCHR
S_IFDIR
S_IFMT
S_IFREG
S_IREAD
S_IWRITE
TMP_MAX
_IOFBF
_IOLBF
_IONBF
Functions
_exit
⚠
abort
⚠
abs
⚠
access
⚠
atexit
⚠
atof
⚠
atoi
⚠
calloc
⚠
chdir
⚠
chmod
⚠
close
⚠
commit
⚠
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
⚠
getpid
⚠
isalnum
⚠
isalpha
⚠
isatty
⚠
iscntrl
⚠
isdigit
⚠
isgraph
⚠
islower
⚠
isprint
⚠
ispunct
⚠
isspace
⚠
isupper
⚠
isxdigit
⚠
labs
⚠
lseek
⚠
malloc
⚠
memchr
⚠
memcmp
⚠
memcpy
⚠
memmove
⚠
memset
⚠
mkdir
⚠
open
⚠
open_osfhandle
⚠
pclose
⚠
perror
⚠
pipe
⚠
popen
⚠
putchar
⚠
puts
⚠
rand
⚠
read
⚠
realloc
⚠
remove
⚠
rename
⚠
rewind
⚠
rmdir
⚠
setbuf
⚠
setlocale
⚠
setvbuf
⚠
srand
⚠
stat
⚠
strcat
⚠
strchr
⚠
strcmp
⚠
strcoll
⚠
strcpy
⚠
strcspn
⚠
strdup
⚠
strerror
⚠
strlen
⚠
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
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
int16_t
int32_t
int64_t
int8_t
intmax_t
intptr_t
off_t
ptrdiff_t
size_t
ssize_t
time64_t
time_t
uint16_t
uint32_t
uint64_t
uint8_t
uintmax_t
uintptr_t
wchar_t