Crate syscalls[][src]

Re-exports

pub use helper::syscall0;
pub use helper::syscall1;
pub use helper::syscall2;
pub use helper::syscall3;
pub use helper::syscall4;
pub use helper::syscall5;
pub use helper::syscall6;
pub use nr::SyscallNo::*;

Modules

Macros

syscall macro accept a syscall nr and variadic arguments (0 to 6). returns Ok on success, or Err(errno) on failure

Structs

The 6 arguments of a syscall, raw untyped version.

syscall return value

Enums

Functions

do a syscall @nr: syscall number @args: packed arguments @return: Ok on success, Err when syscall failed (with errno)