pathRemoveDirectory

fnErrno pathRemoveDirectory(Fd fd, const(char) * path, Size pathLen) @importName("path_remove_directory")

Remove a directory. Return errno::notempty if the directory is not empty.

Note

This is similar to unlinkat(fd, path, AT_REMOVEDIR) in POSIX.