[−][src]Function linux::syscall::waitid
pub fn waitid(
which: c_int,
upid: pid_t,
infop: &mut siginfo_t,
options: c_int,
ru: Option<&mut rusage>
) -> c_int
Waits for a child process.
[argument, which] The type of process to wait for.
[argument, upid] The id to wait for.
[argument, infop] A place into which the process information will be placed.
[argument, options] What changes to wait for.
[argument, ru] An optional place where resource usage of the process will be placed.
[return_value] Returns success or an error value.
= See also
- link:man:waitid(2)