| 45 | static wchar_t* optcursor = NULL; |
| 46 | |
| 47 | void getopt_init() |
| 48 | { |
| 49 | /* need to intialize these getop variables before we process a command line */ |
| 50 | |
| 51 | optcursor = NULL; |
| 52 | optind = 1; |
| 53 | } |
| 54 | |
| 55 | /* Implemented based on [1] and [2] for optional arguments. |
| 56 | optopt is handled FreeBSD-style, per [3]. |
no outgoing calls
no test coverage detected