[][src]Crate libc

libc - Raw FFI bindings to platforms' system libraries

Documentation for other platforms.

Structs

Dl_info
RTP_DESC
_Sched_param
_Timespec
addrinfo
cmsghdr
dirent
in6_addr
in_addr
iovec
ip_mreq
ipv6_mreq
linger
mq_attr
msghdr
pollfd
pthread_attr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t
rlimit
sigaction
siginfo_t
sockaddr
sockaddr_in
sockaddr_in6
sockaddr_storage
sockaddr_un
stack_t
stat
timespec
timeval
tm

Enums

DIR
FILE
_Vx_semaphore
c_void

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

fpos_t

Constants

AF_INET
AF_INET6
AF_KEY
AF_LINK
AF_LOCAL
AF_MAX
AF_MIPC
AF_MIPC_SAFE
AF_NETLINK
AF_PACKET
AF_ROUTE
AF_SOCKDEV
AF_TIPC
AF_UNIX
AF_UNSPEC
CLOCK_MONOTONIC
CLOCK_PROCESS_CPUTIME_ID
CLOCK_REALTIME
CLOCK_THREAD_CPUTIME_ID
E2BIG
EACCES
EADDRINUSE
EADDRNOTAVAIL
EAFNOSUPPORT
EAGAIN
EAI_SERVICE
EAI_SOCKTYPE
EAI_SYSTEM
EALREADY
EBADF
EBUSY
ECHILD
ECONNABORTED
ECONNREFUSED
ECONNRESET
EDEADLK
EDESTADDRREQ
EDQUOT
EEXIST
EFAULT
EFBIG
EINPROGRESS
EINTR
EINVAL
EIO
EISCONN
EISDIR
ENAMETOOLONG
ENETRESET
ENETUNREACH
ENOBUFS
ENODEV
ENOENT
ENOEXEC
ENOMEM
ENOPROTOOPT
ENOSPC
ENOSYS
ENOTCONN
ENOTDIR
ENOTEMPTY
ENOTSOCK
ENXIO
EOPNOTSUPP
EPERM
EPFNOSUPPORT
EPIPE
EPROTONOSUPPORT
EPROTOTYPE
ERANGE
EROFS
ESHUTDOWN
ESOCKTNOSUPPORT
ESRCH
ESTALE
ETIMEDOUT
ETOOMANYREFS
EWOULDBLOCK
EXIT_FAILURE
EXIT_SUCCESS
FD_CLOEXEC
FIOBAUDRATE
FIOCANCEL
FIODIRENTRY
FIODISKCHANGE
FIODISKFORMAT
FIODISKINIT
FIOFLUSH
FIOGETNAME
FIONBIO
FIONREAD
FIOOPTIONS
FIOREADYCHANGE
FIORENAME
FIOSEEK
FIOSQUEEZE
FIOWHERE
F_DUPFD
F_DUPFD_CLOEXEC
F_GETFD
F_GETFL
F_GETLK
F_GETOWN
F_SETFD
F_SETFL
F_SETLK
F_SETLKW
F_SETOWN
IPPROTO_IP
IPPROTO_IPV6
IPPROTO_TCP
IPV6_ADD_MEMBERSHIP
IPV6_DROP_MEMBERSHIP
IPV6_MULTICAST_HOPS
IPV6_MULTICAST_IF
IPV6_MULTICAST_LOOP
IPV6_UNICAST_HOPS
IPV6_V6ONLY
IP_ADD_MEMBERSHIP
IP_DROP_MEMBERSHIP
IP_MULTICAST_IF
IP_MULTICAST_LOOP
IP_MULTICAST_TTL
IP_TTL
MSG_COMPAT
MSG_CTRUNC
MSG_DONTROUTE
MSG_DONTWAIT
MSG_EOF
MSG_EOR
MSG_EXP
MSG_MBUF
MSG_NOTIFICATION
MSG_OOB
MSG_PEEK
MSG_TRUNC
MSG_WAITALL
OK
O_ACCMODE
O_APPEND
O_CLOEXEC
O_CREAT
O_EXCL
O_NONBLOCK
O_RDONLY
O_RDWR
O_TRUNC
O_WRONLY
PATH_MAX
POLLERR
POLLHUP
POLLIN
POLLNVAL
POLLOUT
POLLPRI
POLLRDBAND
POLLRDNORM
POLLWRBAND
POLLWRNORM
PTHREAD_COND_INITIALIZER
PTHREAD_DESTROYED_OBJ
PTHREAD_INITIALIZED_OBJ
PTHREAD_INVALID_OBJ
PTHREAD_MUTEX_DEFAULT
PTHREAD_MUTEX_ERRORCHECK
PTHREAD_MUTEX_INITIALIZER
PTHREAD_MUTEX_NORMAL
PTHREAD_MUTEX_RECURSIVE
PTHREAD_PRIO_INHERIT
PTHREAD_PRIO_NONE
PTHREAD_PRIO_PRO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FSERR_BAD_COOKIE
S_nfsLib_NFSERR_DQUOT
S_nfsLib_NFSERR_ENODEV
S_nfsLib_NFSERR_EXIST
S_nfsLib_NFSERR_FBIG
S_nfsLib_NFSERR_INVAL
S_nfsLib_NFSERR_IO
S_nfsLib_NFSERR_ISDIR
S_nfsLib_NFSERR_JUKEBOX
S_nfsLib_NFSERR_NAMETOOLONG
S_nfsLib_NFSERR_NOENT
S_nfsLib_NFSERR_NOSPC
S_nfsLib_NFSERR_NOTDIR
S_nfsLib_NFSERR_NOTEMPTY
S_nfsLib_NFSERR_NOTSUPP
S_nfsLib_NFSERR_NOT_SYNC
S_nfsLib_NFSERR_NXIO
S_nfsLib_NFSERR_PERM
S_nfsLib_NFSERR_REMOTE
S_nfsLib_NFSERR_ROFS
S_nfsLib_NFSERR_SERVERFAULT
S_nfsLib_NFSERR_STALE
S_nfsLib_NFSERR_TOOSMALL
S_nfsLib_NFSERR_WFLUSH
S_nfsLib_NFS_OK
TCP_KEEPCNT
TCP_KEEPIDLE
TCP_KEEPINTVL
TCP_MAXSEG
TCP_NODELAY
TCP_NOPUSH
TIMER_ABSTIME
TIMER_RELTIME
VX_RTP_NAME_LENGTH
WNOHANG
WUNTRACED
_PARM_NAME_MAX
_PARM_PATH_MAX
_POSIX_PATH_MAX
_PTHREAD_SHARED_SEM_NAME_MAX
_SC_GETPW_R_SIZE_MAX
_SC_PAGESIZE
_SS_ALIGNSIZE
_SS_MAXSIZE
_SS_PAD1SIZE
_SS_PAD2SIZE
pseudo_AF_KEY

Functions

CMSG_ALIGN
CMSG_DATA
CMSG_FIRSTHDR
CMSG_LEN
CMSG_NXTHDR
CMSG_SPACE
WEXITSTATUS
WIFEXITED
WIFSIGNALED
WIFSTOPPED
WSTOPSIG
WTERMSIG
_exit
_pathIsAbsolute
_realpath
_sigqueue
abort
accept
access
alarm
atexit
atoi
bind
calloc
chdir
chmod
chown
clock_getres
clock_gettime
clock_nanosleep
clock_settime
close
closedir
closelog
connect
creat
difftime
dladdr
dlclose
dlerror
dlopen
dlsym
dup
dup2
errnoGet
errnoSet
exit
fchdir
fchmod
fchown
fclose
fcntl
fdopen
feof
ferror
fflush
fgetc
fgetpos
fgets
fileno
fopen
fpathconf
fprintf
fputc
fputs
fread
free
freeaddrinfo
freopen
fscanf
fseek
fseeko
fsetpos
fstat
fsync
ftell
ftello
ftruncate
fwrite
gai_strerror
getaddrinfo
getchar
getchar_unlocked
getcwd
getegid
getenv
geteuid
getgid
getgroups
gethostname
getline
getlogin
getopt
getpeername
getpid
getppid
getsockname
getsockopt
gettimeofday
getuid
gmtime
gmtime_r
ioctl
isalnum
isalpha
isatty
isblank
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
kill
link
listen
localtime
localtime_r
lseek
lstat
malloc
memalign
memchr
memcmp
memcpy
memmove
memset
mkdir
mkfifo
mkstemp
mktime
mlock
mlockall
mmap
mq_close
mq_getattr
mq_open
mq_receive
mq_send
mq_setattr
mq_timedreceive
mq_timedsend
mq_unlink
munlockall
munmap
nanosleep
open
opendir
openlog
pathconf
pause
perror
pipe
poll
posix_memalign
pread
printf
pthread_atfork
pthread_attr_destroy
pthread_attr_getname
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setname
pthread_attr_setstacksize
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_init
pthread_cond_signal
pthread_cond_timedwait
pthread_cond_wait
pthread_condattr_destroy
pthread_condattr_getclock
pthread_condattr_init
pthread_condattr_setclock
pthread_create
pthread_detach
pthread_exit
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_delete
pthread_mutex_destroy
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_timedlock
pthread_mutex_trylock
pthread_mutex_unlock
pthread_mutexattr_destroy
pthread_mutexattr_init
pthread_mutexattr_settype
pthread_rwlock_destroy
pthread_rwlock_init
pthread_rwlock_rdlock
pthread_rwlock_timedrdlock
pthread_rwlock_timedwrlock
pthread_rwlock_tryrdlock
pthread_rwlock_trywrlock
pthread_rwlock_unlock
pthread_rwlock_wrlock
pthread_rwlockattr_destroy
pthread_rwlockattr_init
pthread_rwlockattr_setmaxreaders
pthread_self
pthread_setspecific
pthread_sigmask
putchar
putchar_unlocked
putenv
puts
pwrite
raise
randABytes
randBytes
randSecure
randUBytes
read
readdir
readdir_r
readlink
readv
realloc
realpath
recv
recvfrom
recvmsg
remove
rename
rewind
rewinddir
rmdir
rtpInfoGet
rtpSpawn
scanf
sched_yield
send
sendmsg
sendto
setbuf
setegid
setenv
seteuid
setgid
setlocale
setlogmask
setsockopt
setuid
setvbuf
shutdown
sigaction
sigemptyset
signal
sigpending
sigprocmask
sigqueue
sleep
snprintf
socket
sprintf
sscanf
stat
strcasecmp
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strdup
strerror
strerror_r
strlen
strncasecmp
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtod
strtok
strtol
strtoul
strxfrm
symlink
sysconf
syslog
system
taskDelay
taskIdSelf
taskKill
time
timegm
tmpfile
tmpnam
tolower
toupper
truncate
ttyname
umask
ungetc
unlink
unsetenv
usleep
utimes
wait
waitpid
wcslen
wcstombs
wmemchr
write
writev

Type Definitions

BOOL
CONDVAR_ID
MSG_Q_ID
OBJ_HANDLE
RTP_ID
SD_ID
SEM_ID_KERNEL
TASK_ID
_Vx_CONDVAR_ID
_Vx_MSG_Q_ID
_Vx_OBJ_HANDLE
_Vx_RTP_ID
_Vx_SD_ID
_Vx_SEM_ID
_Vx_SEM_ID_KERNEL
_Vx_TASK_ID
_Vx_exit_code_t
_Vx_ticks64_t
_Vx_ticks_t
_Vx_usr_arg_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
clockid_t
cpuset_t
dev_t
errno_t
gid_t
in_addr_t
ino_t
int8_tDeprecated
int16_tDeprecated
int32_tDeprecated
int64_tDeprecated
intmax_t
intptr_t
key_t
mode_t
mqd_t
nfds_t
nlink_t
off64_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
stat64
suseconds_t
time_t
uid_t
uint8_tDeprecated
uint16_tDeprecated
uint32_tDeprecated
uint64_tDeprecated
uintmax_t
uintptr_t
useconds_t
wchar_t

Unions

sa_u_t
sigval