[syscall-alt] is a rust crate that provides inline assembler (asm!
macro) definitions of syscalls for some Linux platforms. It also includes:-
EINVAL
EDEADLOCK
:-
EDEADLOCK != EDEADLK
(so watch out when using match
)arm
, but are compiled for x86_64
, they are available
EDEADLOCK
, EDEADLCK
, ENOTSUP
and EOPNOTSUPP
; these vary in definition and value, sometimes being missing, sometimes being equalEWOULDBLOCK
and EAGAIN
; all current platforms make EWOULDBLOCK
the same as EAGAIN
, but this isn't required by POSIXThe code is very much 'early-days', so expect breaking changes.
This crate is #[!no_std]
, and does not require the std
library or the libc
crate
syscall_arch.h
headers (bar s390x)The license for this project is AGPL.