]> git.proxmox.com Git - wasi-libc.git/commit
Also add a way to read `environ` without triggering eager init.
authorDan Gohman <dev@sunfishcode.online>
Thu, 18 Mar 2021 16:48:01 +0000 (09:48 -0700)
committerDan Gohman <dev@sunfishcode.online>
Tue, 25 May 2021 22:25:05 +0000 (15:25 -0700)
commit3c4a3f94d1ce685a672ec9a642f1ae42dae16eb1
tree226f7b471c08c9add0f12dd9e25a2d65716b30e6
parent82fc2c4f449e56319112f6f2583195c7f4e714b1
Also add a way to read `environ` without triggering eager init.

Add a `__wasilibc_get_environ` function which returns the value of
`environ` but without performing eager init.
expected/wasm32-wasi/defined-symbols.txt
libc-bottom-half/headers/public/wasi/libc-environ.h
libc-bottom-half/sources/__wasilibc_environ.c [new file with mode: 0644]