namespace: ashet.process
Documentation
Syscalls related to processes
Namespaces
Types
System Calls
syscall get_file_name(in target: ?Process, out file_name: str)Returns a pointer to the file name of the process.
syscall get_base_address(in target: ?Process, out base_address: usize)Returns the base address of the process.
syscall get_arguments(in target: ?Process, in argv: ?[]SpawnProcessArg, out count: usize)Returns the arguments that were passed to this process in
Spawn.syscall terminate(in exit_code: process.ExitCode) noreturnTerminates the current process with the given exit code
Asynchronous Operations
async_call Spawn(in dir: Directory, in path: str, in argv: []const SpawnProcessArg, out process: Process)Spawns a new process