Searched refs:longopt (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetopt.c183 int longopt; local
229 longopt = (_sp == 1 && c == '-');
230 if (!(longopt ?
234 c, (longopt ? optind : 0));
239 if (argv[optind][++_sp] == '\0' || longopt) {
273 if (!longopt && argv[optind][_sp+1] != '\0') {
275 } else if (longopt && longoptarg) {
284 " -- %s\n"), c, (longopt ? optind - 1 : 0));
293 if (longopt && (longoptarg != NULL)) {
297 0, (longopt
[all...]
H A Dgetopt_long.c79 #define LONGOPT_REQUIRES_ARG(longopt) \
80 ((((longopt).has_arg == optional_argument) && \
82 ((longopt).has_arg == required_argument))

Completed in 16 milliseconds