pub fn args_get<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
argv: WasmPtr<WasmPtr<u8, M>, M>,
argv_buf: WasmPtr<u8, M>,
) -> Errno
Expand description
§args_get()
Read command-line argument data.
The sizes of the buffers should match that returned by args_sizes_get()
.
Inputs:
char **argv
A pointer to a buffer to write the argument pointers.char *argv_buf
A pointer to a buffer to write the argument string data.