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

Function waitpid

src/backend/linux_raw/process/syscalls.rs:285–290  ·  view source on GitHub ↗
(
    pid: Option<Pid>,
    waitopts: WaitOptions,
)

Source from the content-addressed store, hash-verified

283
284#[inline]
285pub(crate) fn waitpid(
286 pid: Option<Pid>,
287 waitopts: WaitOptions,
288) -> io::Result<Option<(Pid, WaitStatus)>> {
289 _waitpid(Pid::as_raw(pid), waitopts)
290}
291
292#[inline]
293pub(crate) fn waitpgid(pgid: Pid, waitopts: WaitOptions) -> io::Result<Option<(Pid, WaitStatus)>> {

Callers

nothing calls this directly

Calls 1

_waitpidFunction · 0.70

Tested by

no test coverage detected