Function interprocess::os::unix::fifo_file::create_fifo

source ·
pub fn create_fifo<P: AsRef<Path>>(path: P, mode: mode_t) -> Result<()>
Available on Unix only.
Expand description

Creates a FIFO file at the specified path with the specified permissions.

Since the mode parameter is masked with the umask, it’s best to leave it at 0o777 unless a different value is desired.

§System calls