#[repr(u16)]pub enum SyscallNum {
Show 26 variants
SysExit = 0,
SysYield = 1,
SysOpen = 2,
SysDirIterOpen = 8,
SysClose = 5,
SysDirIterClose = 9,
SysDirIterNext = 10,
SysWrite = 3,
SysRead = 4,
SysCreate = 6,
SysCreateDir = 7,
SysSync = 16,
SysTruncate = 17,
SysCtl = 12,
SysDup = 26,
SysFSize = 22,
SysFAttrs = 24,
SysGetDirEntry = 23,
SysCHDir = 14,
SysGetCWD = 15,
SysSbrk = 18,
SysPSpawn = 19,
SysWait = 11,
SysMetaTake = 25,
SysShutdown = 20,
SysReboot = 21,
}Expand description
defines Syscall numbers
Variants§
SysExit = 0
SysYield = 1
SysOpen = 2
SysDirIterOpen = 8
SysClose = 5
SysDirIterClose = 9
SysDirIterNext = 10
SysWrite = 3
SysRead = 4
SysCreate = 6
SysCreateDir = 7
SysSync = 16
SysTruncate = 17
SysCtl = 12
SysDup = 26
SysFSize = 22
SysFAttrs = 24
SysGetDirEntry = 23
SysCHDir = 14
SysGetCWD = 15
SysSbrk = 18
SysPSpawn = 19
SysWait = 11
SysMetaTake = 25
SysShutdown = 20
SysReboot = 21
Trait Implementations§
Source§impl Clone for SyscallTable
impl Clone for SyscallTable
Source§fn clone(&self) -> SyscallTable
fn clone(&self) -> SyscallTable
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyscallTable
impl Debug for SyscallTable
Source§impl PartialEq for SyscallTable
impl PartialEq for SyscallTable
Source§impl TryFrom<u16> for SyscallTable
impl TryFrom<u16> for SyscallTable
impl Copy for SyscallTable
impl Eq for SyscallTable
impl StructuralPartialEq for SyscallTable
Auto Trait Implementations§
impl Freeze for SyscallTable
impl RefUnwindSafe for SyscallTable
impl Send for SyscallTable
impl Sync for SyscallTable
impl Unpin for SyscallTable
impl UnwindSafe for SyscallTable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more