Function emerald_std::process::wait_for_pid
source · pub unsafe fn wait_for_pid(pid: u64, block: bool) -> Result<i32, SyscallError>
Expand description
Safety
This is generally safe, it will return error if the pid is not valid, but it might wait for a long time depending on the process we are waiting for.