Sha256: 49ea679b96c0741d048e82964038f9a931bc3cf3a0b59c7db3df89629b9c49e6
Contents?: true
Size: 248 Bytes
Versions: 30
Compression:
Stored size: 248 Bytes
Contents
//! libc syscalls for PIDs use crate::backend::c; use crate::pid::Pid; #[cfg(not(target_os = "wasi"))] #[inline] #[must_use] pub(crate) fn getpid() -> Pid { unsafe { let pid = c::getpid(); Pid::from_raw_unchecked(pid) } }
Version data entries
30 entries across 30 versions & 1 rubygems