Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
auxiliary
/
extern_fake_libc.rs
blob: eb5a5d2b8368515f5609b1f62098cc5e298454be [
file
]
#![
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
()
}
}