[][src]Function heim::process::pids

pub async fn pids() -> Result<impl Stream<Item = Result<i32, Error>>, Error>
This is supported on crate feature process only.

Returns a stream over the Pids of the processes currently running in the system.

Consequent calls are not guaranteed to return pids in the same order.