1 2 3 4 5 6 7 8 9 10 11
///Raw process id type, which is opaque type, platform dependent pub type RawId = libc::pid_t; #[inline] ///Access id using `getpid` pub fn get_raw_id() -> RawId { unsafe { libc::getpid() } }
1 2 3 4 5 6 7 8 9 10 11
///Raw process id type, which is opaque type, platform dependent pub type RawId = libc::pid_t; #[inline] ///Access id using `getpid` pub fn get_raw_id() -> RawId { unsafe { libc::getpid() } }