getopt.h 330 B

123456789101112131415161718192021
  1. #ifndef _GETOPT_H
  2. #define _GETOPT_H
  3. // Generated from:
  4. // `grep "opt" target/include/unistd.h`
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. extern char* optarg;
  9. extern int opterr;
  10. extern int optind;
  11. extern int optopt;
  12. int getopt(int argc, char *const *argv, const char *optstring);
  13. #ifdef __cplusplus
  14. } // extern "C"
  15. #endif
  16. #endif