std/sys/anonymous_pipe/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![forbid(unsafe_op_in_unsafe_fn)]

cfg_if::cfg_if! {
    if #[cfg(unix)] {
        mod unix;
        pub use unix::{AnonPipe, pipe};
    } else if #[cfg(windows)] {
        mod windows;
        pub use windows::{AnonPipe, pipe};
    } else {
        mod unsupported;
        pub use unsupported::{AnonPipe, pipe};
    }
}