#syscalls #kernel #linux-kernel #linux #no-std

no-std faf-syscall

Raw (asm), fast system calls for linux with no dependencies (no_std)

7 stable releases

3.0.3 Mar 13, 2022
2.0.0 Feb 3, 2022
1.0.1 Dec 7, 2021

#836 in Unix APIs

22 downloads per month

Unlicense

6KB
153 lines

faf-syscall

syscall macro

  • Fast
  • Minimalist
  • Dependency-free
  • Linux
  • #![no_std]
  • Stable (not nightly)

This was originally developed for the faf web server

Usage use faf_syscall::sys_call;

let result = sys_call!(SYS_NUM, arg1, arg2, ...)

Returns result as a positive isize or errno as a negative isize.

No runtime deps