Module syscalls

Source

Constantsยง

SYSCALLS ๐Ÿ”’

Functionsยง

check_ptr ๐Ÿ”’
handle_syscall
path_to_proc_absolute_path ๐Ÿ”’
Get the absolute path, if the path is relative, it will use the current process working directory to get the absolute path. If the path is absolute, it will return it as is.
ptr_as_mut ๐Ÿ”’
ptr_as_ref ๐Ÿ”’
sys_arg_to_file_mappings_array ๐Ÿ”’
Allocates space fro the mapping and copies them
sys_arg_to_mut_slice ๐Ÿ”’
sys_arg_to_path ๐Ÿ”’
sys_arg_to_slice ๐Ÿ”’
sys_arg_to_str ๐Ÿ”’
sys_arg_to_str_array ๐Ÿ”’
Allocates space for the strings and copies them
sys_blocking_mode ๐Ÿ”’
sys_chdir ๐Ÿ”’
sys_close ๐Ÿ”’
sys_create_pipe ๐Ÿ”’
sys_exit ๐Ÿ”’
sys_get_cwd ๐Ÿ”’
sys_get_file_meta ๐Ÿ”’
sys_get_time ๐Ÿ”’
sys_graphics ๐Ÿ”’
sys_inc_heap ๐Ÿ”’
sys_open ๐Ÿ”’
sys_open_dir ๐Ÿ”’
sys_priority ๐Ÿ”’
Set and Get process priority TODO: implement security levels, as now we can change the priority of any process
sys_read ๐Ÿ”’
sys_read_dir ๐Ÿ”’
sys_seek ๐Ÿ”’
sys_set_file_meta ๐Ÿ”’
sys_sleep ๐Ÿ”’
sys_spawn ๐Ÿ”’
sys_stat ๐Ÿ”’
sys_wait_pid ๐Ÿ”’
sys_write ๐Ÿ”’

Type Aliasesยง

Syscall ๐Ÿ”’