ocd
This commit is contained in:
parent
7cc5a2417e
commit
28df5d2343
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
#define ARG_H
|
#define ARG_H
|
||||||
|
|
||||||
/* int main(int argc, char *argv[]) */
|
/* int main(int argc, char *argv[]) */
|
||||||
/* opts (case 'a': break; default: printf("Unknown : %c\n", opt);); */
|
/* opts (case 'a': break; default: printf("Unknown: %c\n", opt);); */
|
||||||
|
|
||||||
#define opt argv[optidx][opt_i]
|
#define opt argv[optidx][opt_i]
|
||||||
#define optarg (!argv[optidx + optargidx] ? NULL : (argv[optidx + optargidx++]))
|
#define optarg (!argv[optidx + optargidx] ? NULL : (argv[optidx + optargidx++]))
|
||||||
|
|
Loading…
Reference in a new issue