Function nix::sys::stat::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.