[][src]Function sunrise_libuser::syscalls::get_process_list

pub fn get_process_list(list: &mut [u64]) -> Result<usize, KernelError>

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.