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.
(@interface func (export "path_unlink_file")
(param $fd $fd)
;;; The path to a file to unlink.
(param $path string)
(result $error (expected (error $errno)))
)
Content copied to clipboard