[−][src]Function sunrise_kernel::syscalls::get_process_info
pub fn get_process_info(
hnd: u32,
info_type: u32
) -> Result<usize, UserspaceError>
Extract information from a process.
Info Type | Description |
---|---|
ProcessState = 0 | The state the current process is in. Returns an instance |
of sunrise_libkern::process::ProcessState. |
Errors
InvalidHandle
- The passed handle is invalid or not a process.
InvalidEnum
- The passed info_type is unknown.