IO: support populate fds into WASM application (#655)
Add new API wasm_runtime_set_wasi_args_ex to support populate stdio fds Signed-off-by: LiFeng <lifeng68@huawei.com>
This commit is contained in:
@ -305,6 +305,7 @@ typedef struct WASIArguments {
|
||||
uint32 env_count;
|
||||
char **argv;
|
||||
uint32 argc;
|
||||
int stdio[3];
|
||||
} WASIArguments;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user