Module syscalls

Source
Expand description

This module exposes SafaOS’s syscalls and their rust counterparts

Modules§

fs
FS Operations related syscalls (that takes a path) such as create, remove, open, rename and etc
io
I/O Operations related syscalls (that takes a resource) such as read, write, truncate, etc
misc
Syscalls and operations that don’t fall into a specific category
process
(SysP) Process related syscalls and operations
process_misc
Syscalls and operations related to the current process
resources
(SysR) Resources related syscalls and operations such as destroying resources, duplicating them, etc
thread
(SysT) Thread related syscalls and operations
types
Contains documentation-only types for syscall arguments

Enums§

SyscallNum
defines Syscall numbers