#[repr(usize)]pub enum Syscall {
Show 21 variants
Fork = 1,
Exit = 2,
Wait = 3,
Pipe = 4,
Read = 5,
Kill = 6,
Exec = 7,
Fstat = 8,
Chdir = 9,
Dup = 10,
Getpid = 11,
Sbrk = 12,
Sleep = 13,
Uptime = 14,
Open = 15,
Write = 16,
Mknod = 17,
Unlink = 18,
Link = 19,
Mkdir = 20,
Close = 21,
}Expand description
System call numbers
Variants§
Fork = 1
Exit = 2
Wait = 3
Pipe = 4
Read = 5
Kill = 6
Exec = 7
Fstat = 8
Chdir = 9
Dup = 10
Getpid = 11
Sbrk = 12
Sleep = 13
Uptime = 14
Open = 15
Write = 16
Mknod = 17
Unlink = 18
Link = 19
Mkdir = 20
Close = 21
Trait Implementations§
impl Copy for Syscall
impl Eq for Syscall
impl StructuralPartialEq for Syscall
Auto Trait Implementations§
impl Freeze for Syscall
impl RefUnwindSafe for Syscall
impl Send for Syscall
impl Sync for Syscall
impl Unpin for Syscall
impl UnsafeUnpin for Syscall
impl UnwindSafe for Syscall
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