cosmopolitan/libc/runtime/winargs.internal.h
Justine Tunney 2ab9e9f7fd
Make improvements
- Introduce portable sched_getcpu() api
- Support GCC's __target_clones__ feature
- Make fma() go faster on x86 in default mode
- Remove some asan checks from core libraries
- WinMain() now ensures $HOME and $USER are defined
2024-02-12 10:23:00 -08:00

22 lines
487 B
C

#ifndef COSMOPOLITAN_LIBC_RUNTIME_WINARGS_INTERNAL_H_
#define COSMOPOLITAN_LIBC_RUNTIME_WINARGS_INTERNAL_H_
#include "libc/limits.h"
COSMOPOLITAN_C_START_
struct WinArgs {
union {
struct {
char *argv[8192];
char *envp[512];
intptr_t auxv[2][2];
char argv0buf[256];
char argblock[32767];
char envblock[32767];
};
char16_t tmp16[257];
};
} forcealign(16);
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_RUNTIME_WINARGS_INTERNAL_H_ */