Enum Syscall
Source pub enum Syscall {
Show 19 variants
Invalid = 0,
Fork = 1,
Exit = 2,
Wait = 3,
Pipe = 4,
Read = 5,
Exec = 7,
Fstat = 8,
Chdir = 9,
Dup = 10,
Getpid = 11,
Sbrk = 12,
Open = 15,
Write = 16,
Mknod = 17,
Unlink = 18,
Link = 19,
Mkdir = 20,
Close = 21,
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.