pathUnlinkFile

fnErrno pathUnlinkFile(Fd fd, const(char) * path, Size pathLen) extern(C) nothrow @nogc @wasi @importName("path_unlink_file")

Unlink a file. Return errno::isdir if the path refers to a directory.

Note

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