Crate unix_named_pipe

Source
Expand description

Provides utilities for working with Unix named pipes / FIFOs.

Traits§

FileFIFOExt
Definitions for std::fs::File extensions for FIFOs

Functions§

create
Creates a new named pipe at the path given as path. Pipe will be created with mode mode if given, else 0o644 will be used.
open_read
Opens a named pipe for reading. The file is opened for non-blocking reads a la libc’s O_NONBLOCK.
open_write
Opens a named pipe for writing. The file is opened for non-blocking writes a la libc’s O_NONBLOCK.