MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / waitpgid

Function waitpgid

src/backend/libc/process/syscalls.rs:370–372  ·  view source on GitHub ↗
(pgid: Pid, waitopts: WaitOptions)

Source from the content-addressed store, hash-verified

368#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))]
369#[inline]
370pub(crate) fn waitpgid(pgid: Pid, waitopts: WaitOptions) -> io::Result<Option<(Pid, WaitStatus)>> {
371 _waitpid(-pgid.as_raw_nonzero().get(), waitopts)
372}
373
374#[cfg(not(any(target_os = "espidf", target_os = "vita", target_os = "wasi")))]
375#[inline]

Callers

nothing calls this directly

Calls 3

_waitpidFunction · 0.70
getMethod · 0.45
as_raw_nonzeroMethod · 0.45

Tested by

no test coverage detected