errantmind / faf-syscall

A minimalist, no-std, Linux syscall macro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A minimalist, no-std, Linux syscall macro

License:The Unlicense


Languages

Language:Rust 100.0%