1///Raw process id type, which is opaque type, platform dependent 2pub type RawId = i32; 3 4#[inline] 5///Access id using `getpid` 6pub fn get_raw_id() -> RawId { 7 extern "C" { 8 fn getpid() -> RawId; 9 } 10 11 unsafe { 12 getpid() 13 } 14} 15