pub fn path_symlink<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
old_path: WasmPtr<u8, M>,
old_path_len: M::Offset,
fd: Fd,
new_path: WasmPtr<u8, M>,
new_path_len: M::Offset,
) -> Result<Errno, WasiError>Expand description
ยงpath_symlink()
Create a symlink Inputs:
const char *old_pathArray of UTF-8 bytes representing the source pathu32 old_path_lenThe number of bytes to read fromold_pathFd fdThe base directory from which the paths are understoodconst char *new_pathArray of UTF-8 bytes representing the target pathu32 new_path_lenThe number of bytes to read fromnew_path