]> git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/headers/public/wasi/libc-environ.h
b404adda1b8b1a13ac5e1dfa2a0045fc5553c070
[wasi-libc.git] / libc-bottom-half / headers / public / wasi / libc-environ.h
1 #ifndef __wasi_libc_environ_h
2 #define __wasi_libc_environ_h
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 /// Initialize the global environment variable state. Only needs to be
9 /// called once; most users should call `__wasilibc_ensure_environ` instead.
10 void __wasilibc_initialize_environ(void);
11
12 /// If `__wasilibc_initialize_environ` has not yet been called, call it.
13 void __wasilibc_ensure_environ(void);
14
15 #ifdef __cplusplus
16 }
17 #endif
18
19 #endif