OLD | NEW |
| 1 /* |
| 2 Copyright (C) 1997 Gregory Pietsch |
| 3 |
| 4 [These files] are hereby placed in the public domain without restrictions. Just |
| 5 give the author credit, don't claim you wrote it or prevent anyone else from |
| 6 using it. |
| 7 */ |
| 8 |
1 /**************************************************************************** | 9 /**************************************************************************** |
2 | 10 |
3 getopt.c - Read command line options | 11 getopt.c - Read command line options |
4 | 12 |
5 AUTHOR: Gregory Pietsch | 13 AUTHOR: Gregory Pietsch |
6 CREATED Fri Jan 10 21:13:05 1997 | 14 CREATED Fri Jan 10 21:13:05 1997 |
7 | 15 |
8 DESCRIPTION: | 16 DESCRIPTION: |
9 | 17 |
10 The getopt() function parses the command line arguments. Its arguments argc | 18 The getopt() function parses the command line arguments. Its arguments argc |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 } | 409 } |
402 | 410 |
403 int | 411 int |
404 getopt_long_only (int argc, char **argv, const char *shortopts, | 412 getopt_long_only (int argc, char **argv, const char *shortopts, |
405 const GETOPT_LONG_OPTION_T * longopts, int *longind) | 413 const GETOPT_LONG_OPTION_T * longopts, int *longind) |
406 { | 414 { |
407 return getopt_internal (argc, argv, (char*)shortopts, (GETOPT_LONG_OPTION_T*)l
ongopts, longind, 1); | 415 return getopt_internal (argc, argv, (char*)shortopts, (GETOPT_LONG_OPTION_T*)l
ongopts, longind, 1); |
408 } | 416 } |
409 | 417 |
410 /* end of file GETOPT.C */ | 418 /* end of file GETOPT.C */ |
OLD | NEW |