mirror of
https://github.com/rust-lang/rust
synced 2024-07-20 09:56:07 +00:00
![Michael Howell](/assets/img/avatar_default.png)
The type name ID map has underscores in its names, so the query element should have them, too.
9 lines
158 B
Rust
9 lines
158 B
Rust
pub mod unix {
|
|
#[allow(non_camel_case_types)]
|
|
pub type pid_t = i32;
|
|
pub fn get_pid() -> pid_t {
|
|
0
|
|
}
|
|
pub fn set_pid(_: pid_t) {}
|
|
}
|