[−][src]Function sunrise_libuser::syscalls::get_process_info
pub fn get_process_info(
process_handle: &Process,
ty: ProcessInfoType
) -> Result<u32, KernelError>
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.