ENVIRON_GET
Read environment variable data. The sizes of the buffers should match that returned by environ_sizes_get
. Key/value pairs are expected to be joined with =
s, and terminated with \0
s.
(@interface func (export "environ_get")
(param $environ (@witx pointer (@witx pointer u8)))
(param $environ_buf (@witx pointer u8))
(result $error (expected (error $errno)))
)
Content copied to clipboard