[][src]Function sunrise_kernel::syscalls::terminate_process

pub fn terminate_process(hnd: u32) -> Result<(), UserspaceError>

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