rustix::fs

Function mknodat

Source
pub fn mknodat<P: Arg, Fd: AsFd>(
    dirfd: Fd,
    path: P,
    file_type: FileType,
    mode: Mode,
    dev: Dev,
) -> Result<()>
Available on crate feature fs only.
Expand description

mknodat(dirfd, path, mode, dev)—Creates special or normal files.

§References