Function wasmer_wasix::syscalls::wasi::path_unlink_file::path_unlink_file
source · 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
§path_unlink_file()
Unlink a file, deleting if the number of hardlinks is 1 Inputs:
Fd fd
The base file descriptor from which the path is understoodconst char *path
Array of UTF-8 bytes representing the pathu32 path_len
The number of bytes in thepath
array