interprocess/os/
unix.rs

1//! Unix-specific functionality for various interprocess communication primitives, as well as
2//! Unix-specific ones.
3//!
4//! ## FIFO files
5//! This type of interprocess communication similar to unnamed pipes in that they are unidirectional
6//! byte channels which behave like files. The difference is that FIFO files are actual
7//! (pseudo)files on the filesystem and thus can be accessed by unrelated applications (one doesn't
8//! need to be spawned by another).
9//!
10//! FIFO files are available on all supported systems.
11
12pub(crate) mod imports;
13
14mod c_wrappers;
15mod fdops;
16// Exported into child modules specifically, not this file.
17use fdops::*;
18
19pub mod fifo_file;
20pub mod local_socket;
21pub mod uds_local_socket;
22pub mod unnamed_pipe;
23
24mod unixprelude {
25    #[allow(unused_imports)]
26    pub use libc::{c_char, c_int, c_short, gid_t, mode_t, pid_t, size_t, uid_t};
27    pub use std::os::unix::prelude::*;
28}