Function nix::sys::stat::mknodat

source ยท
pub fn mknodat<P: ?Sized + NixPath>(
    dirfd: Option<RawFd>,
    path: &P,
    kind: SFlag,
    perm: Mode,
    dev: dev_t
) -> Result<()>
Available on crate feature fs only.
Expand description

Create a special or ordinary file, relative to a given directory.