Function mkfifoat
fn mkfifoat<Fd: std::os::fd::AsFd, P: ?Sized + NixPath>(dirfd: Fd, path: &P, mode: Mode) -> Result<()>
Creates new FIFO special file (named pipe) with access rights set to mode
in the path specified by dirfd and path.
Examples
Create a FIFO in the current working directory:
use nix::fcntl::AT_FDCWD;
use nix::unistd::mkfifoat;
use nix::sys::stat::Mode;
mkfifoat(AT_FDCWD, "fifo", Mode::S_IRWXU).unwrap();