Function lrs::process::process_group

Get the process group of this or another process.

Syntax

fn process_group(pid: Option<i32>) -> Result<i32, Errno>

Arguments

NameDescription
pid

The process whose process group to return or None to get the process group of this process.

See also