[][src]Function wasi::path_unlink_file

pub unsafe fn path_unlink_file(fd: Fd, path: &str) -> Result<()>

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.