mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
41396ff48a
- Fix handling of precision in hex float formatting - Enhance the cocmd interpreter for system() and popen() - Manually ran the Lua unit tests, which are now passing - Let stdio i/o operations happen when file is in error state - We're now saving and restoring xmm in ftrace out of paranoia
24 lines
613 B
C
24 lines
613 B
C
#ifndef COSMOPOLITAN_GETOPT_H_
|
|
#define COSMOPOLITAN_GETOPT_H_
|
|
#ifdef COSMOPOLITAN_GETOPT_LONG_H_
|
|
#error "don't mix getopt_long() with cosmo's getopt()"
|
|
#endif
|
|
|
|
#define optarg __optarg
|
|
#define optind __optind
|
|
#define opterr __opterr
|
|
#define optopt __optopt
|
|
#define optreset __optreset
|
|
#define getopt __getopt
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern char *optarg;
|
|
extern int optind, opterr, optopt, optreset;
|
|
|
|
int getopt(int, char *const[], const char *) paramsnonnull();
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_GETOPT_H_ */
|