pub fn fd_pipe<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
ro_read_fd: WasmPtr<Fd, M>,
ro_write_fd: WasmPtr<Fd, M>,
) -> Result<Errno, WasiError>
Expand description
§fd_pipe()
Creates ta pipe that feeds data between two file handles Output:
Fd
First file handle that represents the read end of the pipeFd
Second file handle that represents the write end of the pipe