[−][src]Function sunrise_kernel::syscalls::get_process_list
pub fn get_process_list(
out_pids: u64,
max_pids: u64
) -> Result<usize, UserspaceError>
Fills the provided array with the pids of currently living processes. A process "lives" so long as it is currently running or a handle to it still exists.
It returns the total number of processes currently alive. If this number is bigger than the size of PidBuffer, the user won't have all the pids.