diff --git a/doc/api/wasi.md b/doc/api/wasi.md index 23c2182fff8ffd..e9c39d868aa90f 100644 --- a/doc/api/wasi.md +++ b/doc/api/wasi.md @@ -62,6 +62,12 @@ added: v12.16.0 process via the `__wasi_proc_exit()` function. Setting this option to `true` causes `wasi.start()` to return the exit code rather than terminate the process. **Default:** `false`. + * `stdin` {integer} The file descriptor used as standard input in the + WebAssembly application. **Default:** `0`. + * `stdout` {integer} The file descriptor used as standard output in the + WebAssembly application. **Default:** `1`. + * `stderr` {integer} The file descriptor used as standard error in the + WebAssembly application. **Default:** `2`. ### `wasi.start(instance)`