std

Module pipe

Source
🔬This is a nightly-only experimental API. (anonymous_pipe #127154)
Expand description

Module for anonymous pipe

#![feature(anonymous_pipe)]

let (reader, writer) = std::pipe::pipe()?;

Structs§

  • PipeReaderExperimental
    Read end of the anonymous pipe.
  • PipeWriterExperimental
    Write end of the anonymous pipe.

Functions§

  • pipeExperimental
    Create anonymous pipe that is close-on-exec and blocking.