Lines Matching defs:share__getopt
106 /* This version of `share__getopt' appears to the caller like standard Unix `getopt'
110 As `share__getopt' works, it permutes the elements of ARGV so that,
123 /* For communication from `share__getopt' to the caller.
124 When `share__getopt' finds an option that takes an argument,
133 and for communication between successive calls to `share__getopt'.
135 On entry to `share__getopt', zero means this is the first call; initialize.
137 When `share__getopt' returns -1, this is the index of the first of the
199 `--' can cause `share__getopt' to return -1 with `share__optind' != ARGC. */
478 (aside from the initial '-') are option characters. If `share__getopt'
482 If `share__getopt' finds another option character, it returns that character,
483 updating `share__optind' and `nextchar' so that the next call to `share__getopt' can
486 If there are no more option characters, `share__getopt' returns -1.
511 When `share__getopt' finds a long-named option, it returns 0 if that option's
986 share__getopt (argc, argv, optstring)
1003 the above definition of `share__getopt'. */
1017 c = share__getopt (argc, argv, "abc:d:0123456789");