nix::unistd

Function mkfifoat

source
pub fn mkfifoat<P: ?Sized + NixPath>(
    dirfd: Option<RawFd>,
    path: &P,
    mode: Mode,
) -> Result<()>
Expand description

Creates new fifo special file (named pipe) with path path and access rights mode.

If dirfd has a value, then path is relative to directory associated with the file descriptor.

If dirfd is None, then path is relative to the current working directory.

ยงReferences

mkfifoat(2).