[][src]Crate syscalls

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

helper
macros

Macros

syscall

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

syscall_args

Structs

SyscallArgs

The 6 arguments of a syscall, raw untyped version.

SyscallRet

syscall return value

Enums

SyscallNo

Functions

syscall

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