[go: up one dir, main page]

Function cloudabi::file_unlink [] [src]

pub unsafe fn file_unlink(fd_: fd, path_: &[u8], flags_: ulflags) -> errno

Unlinks a file, or removes a directory.

Parameters

fd: The working directory at which the resolution of the path starts.

path: The path that needs to be unlinked or removed.

flags: Possible values:

  • REMOVEDIR: If set, attempt to remove a directory. Otherwise, unlink a file.