pub(crate) fn waitpid( pid: Option<Pid>, waitopts: WaitOptions, ) -> Result<Option<(Pid, WaitStatus)>>