Function lrs::process::set_process_group

Sets the process group of this or another process.

Syntax

fn set_process_group(process: Option<i32>, group: i32) -> Result<(), Errno>

Arguments

NameDescription
process

The process to move to the process group or None to move this process.

group

The new group of the process.

See also