nix::sys::stat

Function mknod

Source
pub fn mknod<P: ?Sized + NixPath>(
    path: &P,
    kind: SFlag,
    perm: Mode,
    dev: dev_t,
) -> Result<()>
Expand description

Create a special or ordinary file, by pathname.