Crate
libc
[
−
]
[src]
Crate docs
Structs
Dl_info
addrinfo
dirent
dqblk
fd_set
flock
fsid_t
fstore_t
glob_t
hostent
ifaddrs
in6_addr
in_addr
iovec
ip_mreq
ipv6_mreq
kevent
kevent64_s
mach_timebase_info
msghdr
passwd
pthread_attr_t
pthread_cond_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
radvisory
rlimit
rusage
sigaction
siginfo_t
sockaddr
sockaddr_in
sockaddr_in6
sockaddr_storage
sockaddr_un
stack_t
stat
statfs
statvfs
termios
timespec
timeval
tm
utimbuf
utsname
Enums
DIR
FILE
c_void
fpos_t
timezone
Constants
AF_INET
AF_INET6
AF_UNIX
BRKINT
BS0
BS1
BUFSIZ
CLOCAL
CR0
CR1
CR2
CR3
CREAD
CRTSCTS
CS5
CS6
CS7
CS8
CSIZE
CSTOPB
CTL_HW
DT_BLK
DT_CHR
DT_DIR
DT_FIFO
DT_LNK
DT_REG
DT_SOCK
E2BIG
EACCES
EADDRINUSE
EADDRNOTAVAIL
EAFNOSUPPORT
EAGAIN
EALREADY
EAUTH
EBADARCH
EBADEXEC
EBADF
EBADMACHO
EBADMSG
EBADRPC
EBUSY
ECANCELED
ECHILD
ECHO
ECHOCTL
ECHOE
ECHOK
ECHOKE
ECHONL
ECHOPRT
ECONNABORTED
ECONNREFUSED
ECONNRESET
EDEADLK
EDESTADDRREQ
EDEVERR
EDOM
EDQUOT
EEXIST
EFAULT
EFBIG
EFTYPE
EHOSTDOWN
EHOSTUNREACH
EIDRM
EILSEQ
EINPROGRESS
EINTR
EINVAL
EIO
EISCONN
EISDIR
ELAST
ELOOP
EMFILE
EMLINK
EMSGSIZE
EMULTIHOP
ENAMETOOLONG
ENEEDAUTH
ENETDOWN
ENETRESET
ENETUNREACH
ENFILE
ENOATTR
ENOBUFS
ENODATA
ENODEV
ENOENT
ENOEXEC
ENOLCK
ENOLINK
ENOMEM
ENOMSG
ENOPOLICY
ENOPROTOOPT
ENOSPC
ENOSR
ENOSTR
ENOSYS
ENOTBLK
ENOTCONN
ENOTDIR
ENOTEMPTY
ENOTRECOVERABLE
ENOTSOCK
ENOTSUP
ENOTTY
ENXIO
EOF
EOPNOTSUPP
EOVERFLOW
EOWNERDEAD
EPERM
EPFNOSUPPORT
EPIPE
EPROCLIM
EPROCUNAVAIL
EPROGMISMATCH
EPROGUNAVAIL
EPROTO
EPROTONOSUPPORT
EPROTOTYPE
EPWROFF
EQFULL
ERANGE
EREMOTE
EROFS
ERPCMISMATCH
ESHLIBVERS
ESHUTDOWN
ESOCKTNOSUPPORT
ESPIPE
ESRCH
ESTALE
ETIME
ETIMEDOUT
ETOOMANYREFS
ETXTBSY
EUSERS
EVFILT_AIO
EVFILT_FS
EVFILT_MACHPORT
EVFILT_PROC
EVFILT_READ
EVFILT_SIGNAL
EVFILT_SYSCOUNT
EVFILT_TIMER
EVFILT_USER
EVFILT_VM
EVFILT_VNODE
EVFILT_WRITE
EV_ADD
EV_CLEAR
EV_DELETE
EV_DISABLE
EV_DISPATCH
EV_ENABLE
EV_EOF
EV_ERROR
EV_FLAG0
EV_FLAG1
EV_ONESHOT
EV_OOBAND
EV_POLL
EV_RECEIPT
EV_SYSFLAGS
EWOULDBLOCK
EXDEV
EXIT_FAILURE
EXIT_SUCCESS
EXTPROC
FD_CLOEXEC
FD_SETSIZE
FF0
FF1
FILENAME_MAX
FIOCLEX
FIONBIO
FLUSHO
FOPEN_MAX
F_ALLOCATEALL
F_ALLOCATECONTIG
F_DUPFD
F_DUPFD_CLOEXEC
F_FREEZE_FS
F_FULLFSYNC
F_GETFD
F_GETFL
F_GETLK
F_GETOWN
F_GETPATH
F_GLOBAL_NOCACHE
F_LOCK
F_NOCACHE
F_NODIRECT
F_OK
F_PEOFPOSMODE
F_PREALLOCATE
F_RDADVISE
F_RDAHEAD
F_SETFD
F_SETFL
F_SETLK
F_SETLKW
F_SETOWN
F_TEST
F_THAW_FS
F_TLOCK
F_ULOCK
F_VOLPOSMODE
GLOB_ABORTED
GLOB_APPEND
GLOB_DOOFFS
GLOB_ERR
GLOB_MARK
GLOB_NOCHECK
GLOB_NOESCAPE
GLOB_NOMATCH
GLOB_NOSORT
GLOB_NOSPACE
GRPQUOTA
HUPCL
HW_AVAILCPU
HW_NCPU
ICANON
ICRNL
IEXTEN
IFF_LOOPBACK
IGNBRK
IGNCR
IGNPAR
IMAXBEL
INLCR
INPCK
IPPROTO_IP
IPPROTO_IPV6
IPPROTO_RAW
IPPROTO_TCP
IPV6_JOIN_GROUP
IPV6_LEAVE_GROUP
IPV6_MULTICAST_LOOP
IPV6_V6ONLY
IP_ADD_MEMBERSHIP
IP_DROP_MEMBERSHIP
IP_HDRINCL
IP_MULTICAST_LOOP
IP_MULTICAST_TTL
IP_TTL
ISIG
ISTRIP
IUTF8
IXANY
IXOFF
IXON
LOCK_EX
LOCK_NB
LOCK_SH
LOCK_UN
L_tmpnam
MADV_CAN_REUSE
MADV_DONTNEED
MADV_FREE
MADV_FREE_REUSABLE
MADV_FREE_REUSE
MADV_NORMAL
MADV_RANDOM
MADV_SEQUENTIAL
MADV_WILLNEED
MADV_ZERO_WIRED_PAGES
MAP_ANON
MAP_COPY
MAP_FAILED
MAP_FILE
MAP_FIXED
MAP_HASSEMAPHORE
MAP_JIT
MAP_NOCACHE
MAP_NOEXTEND
MAP_NORESERVE
MAP_PRIVATE
MAP_RENAME
MAP_SHARED
MCL_CURRENT
MCL_FUTURE
MINCORE_INCORE
MINCORE_MODIFIED
MINCORE_MODIFIED_OTHER
MINCORE_REFERENCED
MINCORE_REFERENCED_OTHER
MNT_FORCE
MS_ASYNC
MS_DEACTIVATE
MS_INVALIDATE
MS_KILLPAGES
MS_SYNC
NCCS
NI_MAXHOST
NL0
NL1
NOFLSH
NOTE_ABSOLUTE
NOTE_ATTRIB
NOTE_CHILD
NOTE_DELETE
NOTE_EXEC
NOTE_EXIT
NOTE_EXITSTATUS
NOTE_EXIT_REPARENTED
NOTE_EXTEND
NOTE_FFAND
NOTE_FFCOPY
NOTE_FFCTRLMASK
NOTE_FFLAGSMASK
NOTE_FFNOP
NOTE_FFOR
NOTE_FORK
NOTE_LINK
NOTE_LOWAT
NOTE_NONE
NOTE_NSECONDS
NOTE_PCTRLMASK
NOTE_PDATAMASK
NOTE_REAP
NOTE_RENAME
NOTE_REVOKE
NOTE_SECONDS
NOTE_SIGNAL
NOTE_TRACK
NOTE_TRACKERR
NOTE_TRIGGER
NOTE_USECONDS
NOTE_VM_ERROR
NOTE_VM_PRESSURE
NOTE_VM_PRESSURE_SUDDEN_TERMINATE
NOTE_VM_PRESSURE_TERMINATE
NOTE_WRITE
ONLCR
OPOST
O_ACCMODE
O_APPEND
O_ASYNC
O_CLOEXEC
O_CREAT
O_DIRECTORY
O_DSYNC
O_EXCL
O_FSYNC
O_NDELAY
O_NOCTTY
O_NOFOLLOW
O_NONBLOCK
O_RDONLY
O_RDWR
O_SYNC
O_TRUNC
O_WRONLY
PARENB
PARMRK
PARODD
PATH_MAX
PENDIN
POSIX_MADV_DONTNEED
POSIX_MADV_NORMAL
POSIX_MADV_RANDOM
POSIX_MADV_SEQUENTIAL
POSIX_MADV_WILLNEED
PROT_EXEC
PROT_NONE
PROT_READ
PROT_WRITE
PTHREAD_COND_INITIALIZER
PTHREAD_CREATE_DETACHED
PTHREAD_CREATE_JOINABLE
PTHREAD_MUTEX_INITIALIZER
PTHREAD_MUTEX_RECURSIVE
PTHREAD_RWLOCK_INITIALIZER
PTHREAD_STACK_MIN
Q_GETQUOTA
Q_QUOTAOFF
Q_QUOTAON
Q_SETQUOTA
Q_SYNC
RAND_MAX
RLIMIT_AS
RLIMIT_CORE
RLIMIT_CPU
RLIMIT_DATA
RLIMIT_FSIZE
RLIMIT_MEMLOCK
RLIMIT_NOFILE
RLIMIT_NPROC
RLIMIT_STACK
RLIM_INFINITY
RLIM_NLIMITS
RUSAGE_CHILDREN
RUSAGE_SELF
R_OK
SA_NOCLDSTOP
SA_NOCLDWAIT
SA_NODEFER
SA_ONSTACK
SA_RESET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EN_MAX
_SC_MQ_PRIO_MAX
_SC_NGROUPS_MAX
_SC_NPROCESSORS_CONF
_SC_NPROCESSORS_ONLN
_SC_OPEN_MAX
_SC_PAGESIZE
_SC_PAGE_SIZE
_SC_PASS_MAX
_SC_PRIORITIZED_IO
_SC_PRIORITY_SCHEDULING
_SC_RAW_SOCKETS
_SC_READER_WRITER_LOCKS
_SC_REALTIME_SIGNALS
_SC_REGEXP
_SC_RE_DUP_MAX
_SC_RTSIG_MAX
_SC_SAVED_IDS
_SC_SEMAPHORES
_SC_SEM_NSEMS_MAX
_SC_SEM_VALUE_MAX
_SC_SHARED_MEMORY_OBJECTS
_SC_SHELL
_SC_SIGQUEUE_MAX
_SC_SPAWN
_SC_SPIN_LOCKS
_SC_SPORADIC_SERVER
_SC_SS_REPL_MAX
_SC_STREAM_MAX
_SC_SYMLOOP_MAX
_SC_SYNCHRONIZED_IO
_SC_THREADS
_SC_THREAD_ATTR_STACKADDR
_SC_THREAD_ATTR_STACKSIZE
_SC_THREAD_CPUTIME
_SC_THREAD_DESTRUCTOR_ITERATIONS
_SC_THREAD_KEYS_MAX
_SC_THREAD_PRIORITY_SCHEDULING
_SC_THREAD_PRIO_INHERIT
_SC_THREAD_PRIO_PROTECT
_SC_THREAD_PROCESS_SHARED
_SC_THREAD_SAFE_FUNCTIONS
_SC_THREAD_SPORADIC_SERVER
_SC_THREAD_STACK_MIN
_SC_THREAD_THREADS_MAX
_SC_TIMEOUTS
_SC_TIMERS
_SC_TIMER_MAX
_SC_TRACE
_SC_TRACE_EVENT_FILTER
_SC_TRACE_EVENT_NAME_MAX
_SC_TRACE_INHERIT
_SC_TRACE_LOG
_SC_TRACE_NAME_MAX
_SC_TRACE_SYS_MAX
_SC_TRACE_USER_EVENT_MAX
_SC_TTY_NAME_MAX
_SC_TYPED_MEMORY_OBJECTS
_SC_TZNAME_MAX
_SC_V6_ILP32_OFF32
_SC_V6_ILP32_OFFBIG
_SC_V6_LP64_OFF64
_SC_V6_LPBIG_OFFBIG
_SC_VERSION
_SC_XBS5_ILP32_OFF32
_SC_XBS5_ILP32_OFFBIG
_SC_XBS5_LP64_OFF64
_SC_XBS5_LPBIG_OFFBIG
_SC_XOPEN_CRYPT
_SC_XOPEN_ENH_I18N
_SC_XOPEN_LEGACY
_SC_XOPEN_REALTIME
_SC_XOPEN_REALTIME_THREADS
_SC_XOPEN_SHM
_SC_XOPEN_STREAMS
_SC_XOPEN_UNIX
_SC_XOPEN_VERSION
_SC_XOPEN_XCU_VERSION
__PTHREAD_COND_SIZE__
__PTHREAD_MUTEX_SIZE__
__PTHREAD_RWLOCK_SIZE__
Functions
FD_CLR
FD_ISSET
FD_SET
FD_ZERO
WEXITSTATUS
WIFEXITED
WTERMSIG
__error
_exit
abs
accept
access
alarm
atexit
atof
atoi
backtrace
bind
calloc
cfgetispeed
cfgetospeed
cfsetispeed
cfsetospeed
chdir
chmod
chown
chroot
close
closedir
connect
creat
daemon
dladdr
dlclose
dlerror
dlopen
dlsym
dup
dup2
execv
execve
execvp
exit
fchmod
fclose
fcntl
fdopen
feof
ferror
fflush
fgetc
fgetpos
fgets
fileno
flock
fopen
fork
fpathconf
fputc
fputs
fread
free
freeaddrinfo
freeifaddrs
freopen
fseek
fseeko
fsetpos
fstat
fstatfs
fstatvfs
fsync
ftell
ftello
ftruncate
fwrite
gai_strerror
getaddrinfo
getcwd
getdtablesize
getegid
getenv
geteuid
getgid
getgroups
gethostname
getifaddrs
getlogin
getnameinfo
getopt
getpeername
getpgrp
getpid
getppid
getpwuid_r
getrlimit
getrusage
getsid
getsockname
getsockopt
gettimeofday
getuid
glob
globfree
gmtime_r
if_nametoindex
ioctl
isalnum
isalpha
isatty
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
kevent
kevent64
kill
kqueue
labs
link
listen
localtime_r
lseek
lstat
mach_absolute_time
mach_timebase_info
madvise
malloc
memchr
memcmp
mincore
mkdir
mkfifo
mknod
mktime
mlock
mlockall
mmap
mount
mprotect
msync
munlock
munlockall
munmap
nanosleep
open
opendir
pathconf
pause
pclose
perror
pipe
popen
posix_madvise
posix_memalign
pread
pselect
pthread_attr_destroy
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setstacksize
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_signal
pthread_cond_timedwait
pthread_cond_wait
pthread_create
pthread_detach
pthread_get_stackaddr_np
pthread_get_stacksize_np
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_delete
pthread_mutex_destroy
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_trylock
pthread_mutex_unlock
pthread_mutexattr_destroy
pthread_mutexattr_init
pthread_mutexattr_settype
pthread_rwlock_destroy
pthread_rwlock_rdlock
pthread_rwlock_tryrdlock
pthread_rwlock_trywrlock
pthread_rwlock_unlock
pthread_rwlock_wrlock
pthread_self
pthread_setname_np
pthread_setspecific
pthread_sigmask
ptrace
putenv
puts
pwrite
quotactl
raise
rand
read
readdir_r
readlink
readv
realloc
realpath
recv
recvfrom
recvmsg
remove
rename
rewind
rewinddir
rmdir
sched_yield
seekdir
select
send
sendmsg
sendto
setbuf
setenv
setgid
setgroups
sethostname
setpgid
setrlimit
setsid
setsockopt
setuid
setvbuf
shm_open
shm_unlink
shutdown
sigaction
sigaddset
sigaltstack
sigdelset
sigemptyset
sigfillset
sigismember
signal
sleep
socket
socketpair
srand
stat
statfs
statvfs
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strerror_r
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
symlink
syscall
sysconf
sysctl
sysctlbyname
sysctlnametomib
system
tcdrain
tcflow
tcflush
tcgetattr
tcgetpgrp
tcsendbreak
tcsetattr
telldir
timegm
tmpfile
tolower
toupper
ttyname
umask
uname
ungetc
unlink
unmount
unsetenv
usleep
utime
utimes
wait
waitpid
wcslen
write
writev
Type Definitions
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
cc_t
clock_t
dev_t
fsblkcnt_t
fsfilcnt_t
gid_t
in_addr_t
in_port_t
ino_t
int16_t
int32_t
int64_t
int8_t
intmax_t
intptr_t
mach_timebase_info_data_t
mode_t
nlink_t
off_t
pid_t
pthread_key_t
pthread_t
ptrdiff_t
rlim_t
sa_family_t
sighandler_t
sigset_t
size_t
socklen_t
speed_t
ssize_t
suseconds_t
tcflag_t
time_t
uid_t
uint16_t
uint32_t
uint64_t
uint8_t
uintmax_t
uintptr_t
useconds_t
wchar_t