Function lrs::process::wait_id

Wait for a certain child process.

Syntax

fn wait_id(id: i32, flags: WaitFlags) -> Result<ChildStatus, Errno>

Arguments

NameDescription
id

The process id of the child.

flags

The flags used for this wait operation.

Return value

Returns the status of the child.