blob: eb5a5d2b8368515f5609b1f62098cc5e298454be (
plain)
1
2
3
4
5
6
7
8
9
10
|
#![allow(nonstandard_style)]
#![allow(clippy::missing_safety_doc, unused)]
type pid_t = i32;
pub unsafe fn getpid() -> pid_t {
pid_t::from(0)
}
pub fn getpid_SAFE_TRUTH() -> pid_t {
unsafe { getpid() }
}
|