Crates.io | linux-syscall |
lib.rs | linux-syscall |
version | 1.2.0 |
created_at | 2022-09-10 11:54:13.845352+00 |
updated_at | 2025-05-06 12:31:29.285537+00 |
description | Linux syscall macros |
homepage | |
repository | https://github.com/jmillikin/rust-linux-syscall |
max_upload_size | |
id | 662466 |
size | 143,148 |
This library defines syscall numbers and a syscall!
macro for directly
invoking Linux system calls.
The arch
modules document available syscall numbers for all supported
architectures, and the top-level module re-exports syscall numbers for the
current target platform.
Supported architectures:
aarch64
arm
loongarch64
riscv64
s390x
x86
x86_64
To be supported by this library, an architecture must:
*-linux-*
target supported by the Rust toolchain at Tier 2 or better
(https://doc.rust-lang.org/rustc/platform-support.html), andasm!
macro (https://github.com/rust-lang/rust/issues/93335).