Return environment variable data sizes
The environ_sizes_get()
function is used to retrieve the sizes of the environment variable data. It returns the number of environment variables and the size of the environment variable string data.
Note
The environ_sizes_get()
function returns the sizes of the environment variable data provided to the WebAssembly module. The number of environment variables and the size of the environment variable string data are written to the specified memory locations.