pub fn path_unlink_file<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    fd: Fd,
    path: WasmPtr<u8, M>,
    path_len: M::Offset,
) -> Result<Errno, WasiError>
Expand description

Unlink a file, deleting if the number of hardlinks is 1 Inputs:

  • Fd fd The base file descriptor from which the path is understood
  • const char *path Array of UTF-8 bytes representing the path
  • u32 path_len The number of bytes in the path array