arceos_
posix_
api
0.1.0
Module ctypes
Module Items
Structs
Constants
Type Aliases
Unions
In crate arceos_
posix_
api
arceos_posix_api
Module
ctypes
Copy item path
Source
Expand description
POSIX C types.
Structs
§
addrinfo
aibuf
epoll_
event
fd_set
in6_
addr
in_addr
iovec
pthread_
attr_
t
pthread_
mutex_
t
pthread_
mutexattr_
t
rlimit
sockaddr
sockaddr_
in
sockaddr_
in6
sockaddr_
storage
stat
timespec
timeval
Constants
§
AF_ALG
AF_
APPLETALK
AF_ASH
AF_
ATMPVC
AF_
ATMSVC
AF_AX25
AF_
BLUETOOTH
AF_
BRIDGE
AF_CAIF
AF_CAN
AF_
DECnet
AF_
ECONET
AF_FILE
AF_IB
AF_
IEEE802154
AF_INET
AF_
INET6
AF_IPX
AF_IRDA
AF_ISDN
AF_IUCV
AF_KCM
AF_KEY
AF_LLC
AF_
LOCAL
AF_MAX
AF_MPLS
AF_
NETBEUI
AF_
NETLINK
AF_
NETROM
AF_NFC
AF_
PACKET
AF_
PHONET
AF_
PPPOX
AF_
QIPCRTR
AF_RDS
AF_ROSE
AF_
ROUTE
AF_
RXRPC
AF_
SECURITY
AF_SMC
AF_SNA
AF_TIPC
AF_UNIX
AF_
UNSPEC
AF_
VSOCK
AF_
WANPIPE
AF_X25
AF_XDP
CLOCK_
MONOTONIC
CLOCK_
REALTIME
EAI_
AGAIN
EAI_
BADFLAGS
EAI_
FAIL
EAI_
FAMILY
EAI_
MEMORY
EAI_
NONAME
EAI_
OVERFLOW
EAI_
SERVICE
EAI_
SOCKTYPE
EAI_
SYSTEM
EPOLLERR
EPOLLET
EPOLLEXCLUSIVE
EPOLLHUP
EPOLLIN
EPOLLMSG
EPOLLNVAL
EPOLLONESHOT
EPOLLOUT
EPOLLPRI
EPOLLRDBAND
EPOLLRDHUP
EPOLLRDNORM
EPOLLWAKEUP
EPOLLWRBAND
EPOLLWRNORM
EPOLL_
CLOEXEC
EPOLL_
CTL_
ADD
EPOLL_
CTL_
DEL
EPOLL_
C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OCK_
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_
NZERO
_SC_
OPEN_
MAX
_SC_
PAGESIZE
_SC_
PAGE_
SIZE
_SC_
PASS_
MAX
_SC_
PHYS_
PAGES
_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_
STREAMS
_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_
ROBUST_
PRIO_
INHERIT
_SC_
THREAD_
ROBUST_
PRIO_
PROTECT
_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_
UIO_
MAXIOV
_SC_
V6_
ILP32_
OFF32
_SC_
V6_
ILP32_
OFFBIG
_SC_
V6_
LP64_
OFF64
_SC_
V6_
LPBIG_
OFFBIG
_SC_
V7_
ILP32_
OFF32
_SC_
V7_
ILP32_
OFFBIG
_SC_
V7_
LP64_
OFF64
_SC_
V7_
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
_SC_
XOPEN_
XPG2
_SC_
XOPEN_
XPG3
_SC_
XOPEN_
XPG4
Type Aliases
§
blkcnt_
t
blksize_
t
clockid_
t
dev_t
epoll_
data_
t
gid_t
in_
addr_
t
in_
port_
t
ino_t
mode_t
nlink_t
off_t
pthread_
t
rlim_t
sa_
family_
t
size_t
socklen_
t
ssize_t
time_t
uid_t
Unions
§
aibuf_
sa
epoll_
data
in6_
addr__
bindgen_
ty_
1
pthread_
attr_
t__
bindgen_
ty_
1