/osnet-11/usr/src/grub/grub-0.97/util/ |
H A D | mbchk.c | 28 static char *optstring = "hvq"; variable 191 c = getopt_long (argc, argv, optstring, longopts, 0);
|
/osnet-11/usr/src/lib/libast/common/comp/ |
H A D | getoptl.c | 42 golly(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex, int flags) argument 49 if (!up || optstring != lastoptstring || longopts != lastlongopts) 54 t = strdup(optstring); 101 lastoptstring = optstring; 115 if (opterr && (!optstring || *optstring != ':')) 142 getopt_long(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex) argument 144 return golly(argc, argv, optstring, longopts, longindex, 2); 148 getopt_long_only(int argc, char* const* argv, const char* optstring, const struct option* longopts, int* longindex) argument 150 return golly(argc, argv, optstring, longopt [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getopt.c | 57 * that would require moving the 'optstring[0]' test outside of the 60 #define ERR(s, c, i) if (opterr && optstring[0] != ':') { \ 81 * (optstring) as a regular, single character option. If the option is found, 82 * return a pointer into optstring pointing at the short-option character, 86 parseshort(const char *optstring, const char c) argument 88 char *cp = (char *)optstring; 104 * (optstring) as a long-option contained within parenthesis. If the 107 * return a pointer into optstring pointing at the short-option character 110 * optstring The entire optstring passe 129 parselong(const char *optstring, const char *opt, char **longoptarg) argument 179 getopt(int argc, char *const *argv, const char *optstring) argument [all...] |
H A D | getopt_long.c | 90 #define FLAG_W_SEMICOLON 0x40 /* Support for W; in optstring */ 91 #define FLAG_PLUS_DASH_START 0x80 /* leading '+' or '-' in optstring */ 481 * + or - at start of optstring takes precedence 727 const char *optstring, 732 nargc, nargv, optstring, long_options, long_index, 748 const char *optstring, 753 nargc, nargv, optstring, long_options, long_index, 783 * o Leading + or - in optstring is ignored, and opstring is 788 const char *optstring, 792 nargc, nargv, optstring, long_option 726 getopt_long(int nargc, char *const *nargv, const char *optstring, const struct option *long_options, int *long_index) argument 747 getopt_long_only(int nargc, char *const *nargv, const char *optstring, const struct option *long_options, int *long_index) argument 787 getopt_clip(int nargc, char *const *nargv, const char *optstring, const struct option *long_options, int *long_index) argument [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/ |
H A D | getopt.c | 229 char **argv _GL_UNUSED, const char *optstring, 244 if (optstring[0] == '-') 247 ++optstring; 249 else if (optstring[0] == '+') 252 ++optstring; 289 return optstring; 350 _getopt_internal_r (int argc, char **argv, const char *optstring, 365 optstring = _getopt_initialize (argc, argv, optstring, d, 369 else if (optstring[ 225 _getopt_initialize(int argc _GL_UNUSED, char **argv _GL_UNUSED, const char *optstring, struct _getopt_data *d, int posixly_correct) argument 346 _getopt_internal_r(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int posixly_correct) argument 1075 _getopt_internal(int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) argument 1104 getopt(int argc, char *const *argv, const char *optstring) argument 1114 __posix_getopt(int argc, char *const *argv, const char *optstring) argument [all...] |
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | typeset.c | 212 const char *optstring = sh_opttypeset; local 223 optstring = ntp->optstring; 226 while((n = optget(argv,optstring)))
|
/osnet-11/usr/src/lib/libshell/amd64/include/ast/ |
H A D | nval.h | 113 const char *optstring; member in struct:Namdecl
|
/osnet-11/usr/src/lib/libshell/common/include/ |
H A D | nval.h | 104 const char *optstring; member in struct:Namdecl
|
/osnet-11/usr/src/lib/libshell/i386/include/ast/ |
H A D | nval.h | 113 const char *optstring; member in struct:Namdecl
|
/osnet-11/usr/src/lib/libshell/sparc/include/ast/ |
H A D | nval.h | 113 const char *optstring; member in struct:Namdecl
|
/osnet-11/usr/src/lib/libshell/sparcv9/include/ast/ |
H A D | nval.h | 113 const char *optstring; member in struct:Namdecl
|
/osnet-11/usr/src/cmd/ldap/common/ |
H A D | common.c | 293 char *optstring, *common_opts; local 408 /* note: optstring must include room for liblcache "C:" option */ 409 if (( optstring = (char *) malloc( strlen( extra_opts ) + strlen( common_opts ) 416 sprintf( optstring, "%s%s", common_opts, extra_opts ); 418 sprintf( optstring, "%s%sC:", common_opts, extra_opts ); 422 while ( (i = getopt( argc, argv, optstring )) != EOF ) { 864 free( optstring );
|