pub unsafe fn path_unlink_file(fd: Fd, path: &str) -> Result<(), Errno>
Expand description
Unlink a file.
Return errno::isdir
if the path refers to a directory.
Note: This is similar to unlinkat(fd, path, 0)
in POSIX.
ยงParameters
path
- The path to a file to unlink.