[][src]Crate libc

libc - Raw FFI bindings to platforms' system libraries

Documentation for other platforms.

Structs

dirent
fpos_t
iovec
itimerspec
lconv
pollfd
rusage
stat
timespec
timeval
tm
tms

Enums

DIR
FILE
__locale_struct
c_void

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

Constants

AT_EACCESS
AT_REMOVEDIR
AT_SYMLINK_FOLLOW
AT_SYMLINK_NOFOLLOW
DT_BLK
DT_CHR
DT_DIR
DT_LNK
DT_REG
DT_UNKNOWN
E2BIG
EACCES
EADDRINUSE
EADDRNOTAVAIL
EAFNOSUPPORT
EAGAIN
EALREADY
EBADF
EBADMSG
EBUSY
ECANCELED
ECHILD
ECONNABORTED
ECONNREFUSED
ECONNRESET
EDEADLK
EDESTADDRREQ
EDOM
EDQUOT
EEXIST
EFAULT
EFBIG
EHOSTUNREACH
EIDRM
EILSEQ
EINPROGRESS
EINTR
EINVAL
EIO
EISCONN
EISDIR
ELOOP
EMFILE
EMLINK
EMSGSIZE
EMULTIHOP
ENAMETOOLONG
ENETDOWN
ENETRESET
ENETUNREACH
ENFILE
ENOBUFS
ENODEV
ENOENT
ENOEXEC
ENOLCK
ENOLINK
ENOMEM
ENOMSG
ENOPROTOOPT
ENOSPC
ENOSYS
ENOTCAPABLE
ENOTCONN
ENOTDIR
ENOTEMPTY
ENOTRECOVERABLE
ENOTSOCK
ENOTSUP
ENOTTY
ENXIO
EOPNOTSUPP
EOVERFLOW
EOWNERDEAD
EPERM
EPIPE
EPROTO
EPROTONOSUPPORT
EPROTOTYPE
ERANGE
EROFS
ESPIPE
ESRCH
ESTALE
ETIMEDOUT
ETXTBSY
EWOULDBLOCK
EXDEV
EXIT_FAILURE
EXIT_SUCCESS
FD_CLOEXEC
FD_SETSIZE
FIONBIO
FIONREAD
F_GETFD
F_GETFL
F_OK
F_SETFD
F_SETFL
O_ACCMODE
O_APPEND
O_CREAT
O_DIRECTORY
O_DSYNC
O_EXCL
O_EXEC
O_NOCTTY
O_NOFOLLOW
O_NONBLOCK
O_RDONLY
O_RDWR
O_RSYNC
O_SEARCH
O_SYNC
O_TRUNC
O_WRONLY
POLLERR
POLLHUP
POLLIN
POLLNVAL
POLLOUT
POLLRDNORM
POLLWRNORM
POSIX_FADV_DONTNEED
POSIX_FADV_NOREUSE
POSIX_FADV_NORMAL
POSIX_FADV_RANDOM
POSIX_FADV_SEQUENTIAL
POSIX_FADV_WILLNEED
R_OK
SEEK_CUR
SEEK_END
SEEK_SET
STDERR_FILENO
STDIN_FILENO
STDOUT_FILENO
S_IFBLK
S_IFCHR
S_IFDIR
S_IFIFO
S_IFLNK
S_IFMT
S_IFREG
S_IFSOCK
UTIME_NOW
UTIME_OMIT
W_OK
X_OK
_IOFBF
_IOLBF
_IONBF
_SC_IOV_MAX
_SC_PAGESIZE
_SC_PAGE_SIZE
_SC_SYMLOOP_MAX

Statics

environ

Functions

_Exit
__wasilibc_fd_renumber
__wasilibc_find_relpath
__wasilibc_register_preopened_fd
__wasilibc_rmdirat
__wasilibc_tell
__wasilibc_unlinkat
_exit
abort
abs
access
aligned_alloc
arc4random
arc4random_buf
arc4random_uniform
asctime_r
at_quick_exit
atexit
atof
atoi
calloc
clearenv
clearerr
clock
close
closedir
creat
ctime_r
difftime
dirfd
duplocale
exit
faccessat
fclose
fcntl
fdatasync
fdopen
fdopendir
feof
ferror
fflush
fgetc
fgetpos
fgets
fileno
fopen
fpathconf
fprintf
fputc
fputs
fread
free
freelocale
freopen
fscanf
fseek
fseeko
fsetpos
fstat
fstatat
fsync
ftell
ftello
ftruncate
futimens
fwrite
getc
getchar
getchar_unlocked
getentropy
getenv
getline
getopt
getrusage
gettimeofday
gmtime
gmtime_r
ioctl
isalnum
isalpha
isatty
isblank
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
labs
link
linkat
localeconv
localtime
localtime_r
lseek
lstat
malloc
malloc_usable_size
memchr
memcmp
memcpy
memmove
memrchr
memset
mkdir
mkdirat
mktime
nanosleep
newlocale
open
openat
opendir
pathconf
perror
poll
posix_fadvise
posix_fallocate
posix_memalign
pread
preadv
printf
putc
putchar
putchar_unlocked
putenv
puts
pwrite
pwritev
quick_exit
rand
rand_r
random
read
readdir
readlink
readlinkat
readv
realloc
recv
remove
rename
renameat
rewind
rewinddir
rmdir
sbrk
scanf
sched_yield
seekdir
send
setbuf
setenv
setlocale
setvbuf
shutdown
sleep
snprintf
sprintf
srand
srandom
sscanf
stat
strcasecmp
strcasestr
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strdup
strerror
strerror_r
strftime
strlen
strncasecmp
strncat
strncmp
strncpy
strndup
strnlen
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
symlink
symlinkat
sysconf
telldir
time
timegm
times
tolower
toupper
truncate
ungetc
unlink
unlinkat
unsetenv
uselocale
usleep
utimensat
write
writev

Type Definitions

__wasi_rights_t
blkcnt_t
blksize_t
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
gid_t
ino_t
int8_tDeprecated
int16_tDeprecated
int32_tDeprecated
int64_tDeprecated
intmax_t
intptr_t
locale_t
mode_t
nfds_t
nlink_t
off_t
pid_t
ptrdiff_t
sigset_t
size_t
ssize_t
suseconds_t
time_t
uid_t
uint8_tDeprecated
uint16_tDeprecated
uint32_tDeprecated
uint64_tDeprecated
uintmax_t
uintptr_t