devela::_dep::rustix::fs

Function unlinkat

pub fn unlinkat<P, Fd>(dirfd: Fd, path: P, flags: AtFlags) -> Result<(), Errno> 
where P: Arg, Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

unlinkat(fd, path, flags)—Unlinks a file or remove a directory.

With the REMOVEDIR flag, this removes a directory. This is in place of a rmdirat function.

§References