Function wasmer_wasix::syscalls::wasix::fd_pipe::fd_pipe

source ·
pub fn fd_pipe<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    ro_fd1: WasmPtr<Fd, M>,
    ro_fd2: 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 one end of the pipe
  • Fd Second file handle that represents the other end of the pipe