cosmopolitan/third_party/getopt/long1.h

17 lines
408 B
C
Raw Normal View History

2023-08-15 19:24:21 -07:00
#ifndef _GETOPT_CORE_H
#define _GETOPT_CORE_H
2023-08-14 22:22:58 -07:00
#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) */
2023-08-15 19:24:21 -07:00
#endif /* _GETOPT_CORE_H */