Type Alias rustix::process::ProcSelector

source ·
pub type ProcSelector = Option<(IdType, Pid)>;
Available on crate feature process only.
Expand description

A process selector for use with the procctl interface.

None represents the current process. Some((IdType::Pid, pid)) represents the process with pid pid. Some((IdType::Pgid, pgid)) represents the control processes belonging to the process group with id pgid.

Aliased Type§

enum ProcSelector {
    None,
    Some((IdType, Pid)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some((IdType, Pid))

Some value of type T.