11 /* use main(int argc, char *argv[]) */
12 #define ARGBEGIN for (argv0 = *argv, argv++, argc--;\
13 argv[0] && argv[0][0] == '-'\
19 if (argv[0][1] == '-' && argv[0][2] == '\0') {\
24 for (brk_ = 0, argv[0]++, argv_ = argv;\
32 /* Handles obsolete -NUM syntax */
33 #define ARGNUM case '0':\
49 #define ARGNUMF() (brk_ = 1, estrtonum(argv[0], 0, INT_MAX))
51 #define EARGF(x) ((argv[0][1] == '\0' && argv[1] == NULL)?\
52 ((x), abort(), (char *)0) :\
53 (brk_ = 1, (argv[0][1] != '\0')?\
55 (argc--, argv++, argv[0])))
57 #define ARGF() ((argv[0][1] == '\0' && argv[1] == NULL)?\
59 (brk_ = 1, (argv[0][1] != '\0')?\
61 (argc--, argv++, argv[0])))
63 #define LNGARG() &argv[0][0]