Beispiel #1
0
int
wgetopt(int argc, wchar_t *const *argv, const wchar_t *optstring)
{
    return _wgetopt_internal(argc, argv, optstring,
                             (const struct woption *) 0,
                             (int *) 0,
                             0);
}
int wgetopter_t::wgetopt_long_only(int argc, wchar_t **argv, const wchar_t *options,
                                   const struct woption *long_options, int *opt_index) {
    return _wgetopt_internal(argc, argv, options, long_options, opt_index, 1);
}
Beispiel #3
0
int
wgetopt_long(int argc, wchar_t *const *argv, const wchar_t *options, const struct woption *long_options, int *opt_index)
{
    return _wgetopt_internal(argc, argv, options, long_options, opt_index, 0);
}