2023-07-30 01:44:15 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_COSMO_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_COSMO_H_
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
2024-07-24 19:11:21 +00:00
|
|
|
#ifndef __cplusplus
|
|
|
|
#define _COSMO_ATOMIC(x) _Atomic(x)
|
|
|
|
#else
|
|
|
|
#define _COSMO_ATOMIC(x) x
|
|
|
|
#endif
|
|
|
|
|
|
|
|
errno_t cosmo_once(_COSMO_ATOMIC(unsigned) *, void (*)(void)) libcesque;
|
2024-01-09 09:26:03 +00:00
|
|
|
int systemvpe(const char *, char *const[], char *const[]) libcesque;
|
2024-06-01 10:19:53 +00:00
|
|
|
char *GetProgramExecutableName(void) libcesque;
|
|
|
|
void unleaf(void) libcesque;
|
|
|
|
int __demangle(char *, const char *, size_t) libcesque;
|
|
|
|
int __is_mangled(const char *) libcesque;
|
2024-09-16 05:29:49 +00:00
|
|
|
bool32 IsLinuxModern(void) libcesque;
|
2024-08-17 19:06:27 +00:00
|
|
|
int LoadZipArgs(int *, char ***) libcesque;
|
2023-07-30 01:44:15 +00:00
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_COSMO_H_ */
|