cosmopolitan/third_party/getopt/long1.h
2023-08-15 20:06:19 -07:00

16 lines
408 B
C
Executable file

#ifndef _GETOPT_CORE_H
#define _GETOPT_CORE_H
#ifdef COSMOPOLITAN_GETOPT_H_
#error "don't mix getopt_long() with cosmo's getopt()"
#endif
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern char *optarg;
extern int optind, opterr, optopt, optreset;
int getopt(int, char *const *, const char *);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* _GETOPT_CORE_H */