Crate libc [] [src]

Crate docs

Structs

Dl_info
addrinfo
dirent
fd_set
fstore_t
glob_t
ifaddrs
in6_addr
in_addr
ip_mreq
ipv6_mreq
mach_timebase_info
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
statvfs
timespec
timeval
tm
utimbuf

Enums

DIR
FILE
c_void
fpos_t
timezone

Constants

AF_INET
AF_INET6
AF_UNIX
BUFSIZ
E2BIG
EACCES
EADDRINUSE
EADDRNOTAVAIL
EAFNOSUPPORT
EAGAIN
EALREADY
EAUTH
EBADARCH
EBADEXEC
EBADF
EBADMACHO
EBADMSG
EBADRPC
EBUSY
ECANCELED
ECHILD
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
EWOULDBLOCK
EXDEV
EXIT_FAILURE
EXIT_SUCCESS
FD_SETSIZE
FILENAME_MAX
FIOCLEX
FIONBIO
FOPEN_MAX
F_ALLOCATEALL
F_ALLOCATECONTIG
F_DUPFD
F_DUPFD_CLOEXEC
F_FREEZE_FS
F_FULLFSYNC
F_GETFD
F_GETFL
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_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
IFF_LOOPBACK
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
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
MS_ASYNC
MS_DEACTIVATE
MS_INVALIDATE
MS_KILLPAGES
MS_SYNC
NI_MAXHOST
O_ACCMODE
O_APPEND
O_CLOEXEC
O_CREAT
O_DSYNC
O_EXCL
O_NOCTTY
O_NONBLOCK
O_RDONLY
O_RDWR
O_SYNC
O_TRUNC
O_WRONLY
PATH_MAX
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
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_RESETHAND
SA_RESTART
SA_SIGINFO
SEEK_CUR
SEEK_END
SEEK_SET
SHUT_RD
SHUT_RDWR
SHUT_WR
SIGABRT
SIGALRM
SIGBUS
SIGCHLD
SIGFPE
SIGHUP
SIGILL
SIGINT
SIGKILL
SIGPIPE
SIGQUIT
SIGSEGV
SIGSTKSZ
SIGTERM
SIGTRAP
SIG_DFL
SIG_ERR
SIG_IGN
SIG_SETMASK
SOCK_DGRAM
SOCK_RAW
SOCK_STREAM
SOL_SOCKET
SO_ACCEPTCONN
SO_B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AX
_SC_BC_STRING_MAX
_SC_CHILD_MAX
_SC_CLK_TCK
_SC_CLOCK_SELECTION
_SC_COLL_WEIGHTS_MAX
_SC_CPUTIME
_SC_DELAYTIMER_MAX
_SC_EXPR_NEST_MAX
_SC_FILE_LOCKING
_SC_FSYNC
_SC_GETGR_R_SIZE_MAX
_SC_GETPW_R_SIZE_MAX
_SC_HOST_NAME_MAX
_SC_IOV_MAX
_SC_IPV6
_SC_JOB_CONTROL
_SC_LINE_MAX
_SC_LOGIN_NAME_MAX
_SC_MAPPED_FILES
_SC_MEMLOCK
_SC_MEMLOCK_RANGE
_SC_MEMORY_PROTECTION
_SC_MESSAGE_PASSING
_SC_MONOTONIC_CLOCK
_SC_MQ_OPEN_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
chdir
chmod
chown
close
closedir
connect
creat
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
fstatvfs
fsync
ftell
ftello
ftruncate
fwrite
gai_strerror
getaddrinfo
getcwd
getdtablesize
getegid
getenv
geteuid
getgid
getgroups
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
kill
labs
link
listen
localtime_r
lseek
lstat
mach_absolute_time
mach_timebase_info
madvise
malloc
memchr
memcmp
mincore
mkdir
mkfifo
mktime
mlock
mlockall
mmap
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
putenv
puts
pwrite
raise
rand
read
readdir_r
readlink
realloc
realpath
recv
recvfrom
remove
rename
rewind
rewinddir
rmdir
sched_yield
seekdir
select
send
sendto
setbuf
setenv
setgid
setgroups
setpgid
setrlimit
setsid
setsockopt
setuid
setvbuf
shm_open
shm_unlink
shutdown
sigaction
sigaddset
sigaltstack
sigdelset
sigemptyset
sigfillset
sigismember
signal
sleep
socket
socketpair
srand
stat
statvfs
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strerror_r
strlen
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
symlink
sysconf
sysctl
sysctlbyname
sysctlnametomib
system
tcgetpgrp
telldir
timegm
tmpfile
tolower
toupper
ttyname
ungetc
unlink
unsetenv
usleep
utime
utimes
wait
waitpid
wcslen
write

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
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
ssize_t
suseconds_t
time_t
uid_t
uint16_t
uint32_t
uint64_t
uint8_t
uintmax_t
uintptr_t
useconds_t
wchar_t