6 releases

0.2.4 Mar 12, 2024
0.2.3 Jul 21, 2023
0.2.2 Jun 2, 2023
0.1.0 Jun 1, 2023
0.0.1 Jun 1, 2023

#397 in Unix APIs

Download history 37/week @ 2024-01-29 5/week @ 2024-02-19 18/week @ 2024-02-26 3/week @ 2024-03-04 148/week @ 2024-03-11 13/week @ 2024-03-18 39/week @ 2024-04-01

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

MIT license

695KB
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