Function rustix::fs::unlinkat

source · []
pub fn unlinkat<P: Arg, Fd: AsFd>(
    dirfd: Fd,
    path: P,
    flags: AtFlags
) -> Result<()>
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