[−][src]Module user::syscall
All syscalls of core-os
Syscalls of core-os are defined and implemented with Rust
primitives (e.g. str, [u8]). This module will transmute
these Rust primitives into pointers and other machine-specific
representations before calling functions in syscall_internal and
trapping into kernel.
Usage of syscalls is listed in their corresponding sub-page.
Constants
| EXEC_MAX_ARGS |
Functions
| close | Close a file with file descriptor |
| dup | Duplicate file descriptor |
| exec | Replace current process image with the new one in the filesystem. |
| exit | Exit current process with exit code |
| fork | Fork current process. |
| open | Open file of |
| read | Read |
| wait | |
| write | Write |