linux-syscall

Crates.iolinux-syscall
lib.rslinux-syscall
version1.2.0
created_at2022-09-10 11:54:13.845352+00
updated_at2025-05-06 12:31:29.285537+00
descriptionLinux syscall macros
homepage
repositoryhttps://github.com/jmillikin/rust-linux-syscall
max_upload_size
id662466
size143,148
John Millikin (jmillikin)

documentation

README

Linux syscall macros for Rust

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:

Commit count: 11

cargo fmt