pub unsafe fn path_remove_directory(fd: Fd, path: &str) -> Result<(), Errno>Expand description
Remove a directory.
Return errno::notempty if the directory is not empty.
Note: This is similar to unlinkat(fd, path, AT_REMOVEDIR) in POSIX.
ยงParameters
path- The path to a directory to remove.