debian/rust-vendor/libc/src/new/common/posix/mod.rs
raw| 1 | //! POSIX APIs that are used by a number of platforms |
| 2 | //! |
| 3 | //! These can be found at: <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/contents.html>. |
| 4 | |
| 5 | // FIXME(pthread): eventually all platforms should use this module |
| 6 | #[cfg(any( |
| 7 | target_os = "android", |
| 8 | target_os = "emscripten", |
| 9 | target_os = "l4re", |
| 10 | target_os = "linux", |
| 11 | target_os = "qurt", |
| 12 | target_vendor = "apple", |
| 13 | ))] |
| 14 | pub(crate) mod pthread; |
| 15 | pub(crate) mod unistd; |