[][src]Function sunrise_libuser::syscalls::terminate_process

pub fn terminate_process(process_handle: &Process) -> Result<(), KernelError>

Kills the given process, terminating the execution of all of its thread and putting its state to Exiting/Exited.

Returns an error if used on a process that wasn't started.

Errors