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

Function waitpgid

src/backend/linux_raw/process/syscalls.rs:293–295  ·  view source on GitHub ↗
(pgid: Pid, waitopts: WaitOptions)

Source from the content-addressed store, hash-verified

291
292#[inline]
293pub(crate) fn waitpgid(pgid: Pid, waitopts: WaitOptions) -> io::Result<Option<(Pid, WaitStatus)>> {
294 _waitpid(-pgid.as_raw_nonzero().get(), waitopts)
295}
296
297#[inline]
298pub(crate) fn _waitpid(

Callers

nothing calls this directly

Calls 3

_waitpidFunction · 0.70
getMethod · 0.45
as_raw_nonzeroMethod · 0.45

Tested by

no test coverage detected