6 extern wchar_t *woptarg;
7 extern int woptind, wopterr, woptopt;
17 #define required_argument 1
18 #define optional_argument 2
21 wgetopt (int argc, wchar_t *const *argv, const wchar_t *optstring);
24 wgetopt_long(int argc, wchar_t * const *argv, const wchar_t *options,
25 const struct woption *long_options, int *opt_index);
28 wgetopt_long_only(int argc, wchar_t *const *argv, const wchar_t *options,
29 const struct woption *long_options, int *opt_index);