//! GNU libc. //! //! * Headers: (official) //! * Headers: (mirror) //! //! This module structure is modeled after glibc's source tree. Its build system selects headers //! from different locations based on the platform, which we mimic here with reexports. /// Source directory: `posix/` /// /// mod posix { pub(crate) mod unistd; } /// Source directory: `sysdeps/` /// /// mod sysdeps { // FIXME(pthread): eventually all platforms should use this module #[cfg(target_os = "linux")] pub(crate) mod nptl; pub(crate) mod unix; } pub(crate) use posix::*; // FIXME(pthread): eventually all platforms should use this module #[cfg(target_os = "linux")] pub(crate) use sysdeps::nptl::*; #[cfg(target_os = "linux")] pub(crate) use sysdeps::unix::linux::*;