8 releases

0.3.0 Nov 18, 2024
0.2.5 Jun 20, 2024
0.2.4 Mar 12, 2024
0.2.3 Jul 21, 2023
0.0.1 Jun 1, 2023

#281 in Unix APIs

Download history 4/week @ 2024-09-10 3/week @ 2024-09-17 32/week @ 2024-09-24 9/week @ 2024-10-01 5/week @ 2024-10-08 3/week @ 2024-10-15 61/week @ 2024-11-12 104/week @ 2024-11-19 1/week @ 2024-11-26

166 downloads per month
Used in 2 crates (via linux-syscalls)

MIT license

700KB
6.5K SLoC

linux-sysno

Crates.io docs.rs Crates.io

This is just a list of syscall numbers for (almost) all the cpu architectures supported by the Linux kernel. The current architecture's sysnos (if target_os is linux or android) are exported in module's root even without the corresponding feature flag.

#![no_std]

This library is no_std, I mean, it's just an enum.

Feature flags

  • arm: Enable arm architecture in its own module.
  • mips: Enable mips architecture in its own module.
  • mipsn32: Enable mipsn32 architecture in its own module.
  • mips64: Enable mips64 architecture in its own module.
  • powerpc: Enable powerpc architecture in its own module.
  • powerpc64: Enable powerpc64 architecture in its own module.
  • s390x: Enable s390x architecture in its own module.
  • sparc: Enable sparc architecture in its own module.
  • sparc64: Enable sparc64 architecture in its own module.
  • x86: Enable x86 architecture in its own module.
  • x86_64: Enable x86_64 architecture in its own module.
  • x32: Enable x32 architecture in its own module.
  • aarch64: Enable aarch64 architecture in its own module.
  • riscv32: Enable riscv32 architecture in its own module.
  • riscv64: Enable riscv64 architecture in its own module.
  • m68k: Enable m68k architecture in its own module.
  • loongarch64: Enable loongarch64 architecture in its own module.
  • all: Enable all the architectures.

MSRV

1.40.0

No runtime deps

Features