/macosx-10.9.5/dcerpc-58/dcerpc/demos/access/ |
H A D | getopt.h | 51 int getopt(int argc, char** argv, char* optstr);
|
H A D | getopt.c | 97 int getopt(int argc, char** argv, char* optstr) argument 136 if(optstr[0] == '-') 143 else if(optstr[0] == '+' || getenv("POSIXLY_CORRECT")) 165 /* Is the option in the optstr? */ 166 if(optstr[0] == '-') opt_ptr = strchr(optstr+1, c); 167 else opt_ptr = strchr(optstr, c);
|
/macosx-10.9.5/dcerpc-58/dcerpc/demos/echo_number/ |
H A D | getopt.h | 51 int getopt(int argc, char * const argv[], const char* optstr);
|
H A D | getopt.c | 97 int getopt(int argc, char* const argv[], const char* optstr) argument 136 if(optstr[0] == '-') 143 else if(optstr[0] == '+' || getenv("POSIXLY_CORRECT")) 165 /* Is the option in the optstr? */ 166 if(optstr[0] == '-') opt_ptr = strchr(optstr+1, c); 167 else opt_ptr = strchr(optstr, c);
|
/macosx-10.9.5/dcerpc-58/dcerpc/demos/echo_server/ |
H A D | getopt.h | 51 int getopt(int argc, char* const argv[], const char* optstr);
|
H A D | getopt.c | 97 int getopt(int argc, char * const argv[], const char* optstr) argument 136 if(optstr[0] == '-') 143 else if(optstr[0] == '+' || getenv("POSIXLY_CORRECT")) 165 /* Is the option in the optstr? */ 166 if(optstr[0] == '-') opt_ptr = strchr(optstr+1, c); 167 else opt_ptr = strchr(optstr, c);
|
/macosx-10.9.5/bash-92/bash-3.2/builtins/ |
H A D | getopts.c | 95 char *optstr; /* list of options */ local 107 optstr = argv[1]; 112 special_error = optstr[0] == ':'; 117 optstr++; 126 ret = sh_getopt (argc, argv, optstr); 135 ret = sh_getopt (i, dollar_vars, optstr); 153 ret = sh_getopt (i, v, optstr);
|
/macosx-10.9.5/bind9-45.100/bind9/unit/atf-src/atf-c++/detail/ |
H A D | application.cpp | 163 std::string optstr; local 165 optstr += '+'; // Turn on POSIX behavior. 167 optstr += ':'; 174 optstr += opt.m_character; 176 optstr += ':'; 182 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/astsa/ |
H A D | option.h | 102 extern int optstr(const char*, const char*);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/include/ |
H A D | option.h | 100 extern int optstr(const char*, const char*);
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/bltins/ |
H A D | misc.c | 398 register const char *optstr = sh_optbg; local 400 optstr = sh_optfg; 402 optstr = sh_optdisown; 403 while((n = optget(argv,optstr))) switch(n) 512 register const char *optstr; local 517 optstr = sh_optvpath; 522 optstr = sh_optvmap; 525 while(n = optget(argv, optstr)) switch(n)
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/cmdline/ |
H A D | cmdline.tcl | 570 set optstr "" 572 lappend optstr [file rootname $str] 577 set i [prefixSearch $optstr [file rootname $_opt]]
|
/macosx-10.9.5/ppp-727.90.1/Controller/ |
H A D | ppp_socket_server.c | 1129 u_char *optstr = &opt->o_data[0]; local 1162 err = set_str_opt(opts, kSCEntNetInterface, kSCPropNetInterfaceDeviceName, (char*)optstr, len, 0); 1178 err = set_str_opt(opts, kSCEntNetModem, kSCPropNetModemConnectionScript, (char*)optstr, len, 0); 1210 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPCommTerminalScript, (char*)optstr, len, 0); 1213 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPCommRemoteAddress, (char*)optstr, len, 0); 1273 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPAuthName, (char*)optstr, len, 0); 1276 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPAuthPassword, (char*)optstr, len, 0); 1302 //err = set_str_opt(&opts->misc.logfile, optstr, len);
|
/macosx-10.9.5/cups-372.4/cups/scheduler/ |
H A D | cupsfilter.c | 904 char *optstr, /* Filter options */ local 971 optstr = escape_options(num_options, options); 1039 argv[5] = optstr;
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/ |
H A D | libmicro.c | 205 char optstr[256]; local 276 (void) sprintf(optstr, "1AB:C:D:EHI:LMN:P:RST:VW?%s", lm_optstr); 277 while ((opt = getopt(argc, argv, optstr)) != -1) {
|
/macosx-10.9.5/zsh-60/zsh/Src/ |
H A D | builtin.c | 204 zsfree(bn->optstr); 251 char *pp, *name, *optstr; local 270 optstr = bn->optstr; 295 if (optstr) { 327 while (*++p && strchr(optstr, (int) *p)); 340 /* save options in ops, as long as they are in bn->optstr */ 343 if ((optptr = strchr(optstr, execop = (int)*arg))) { 398 optstr = "ne"; 2325 char *optstr local 4553 char *optstr = unmetafy(*argv++, &lenoptstr), *var = *argv++; local [all...] |
H A D | module.c | 433 bn->optstr = ztrdup(module); 2392 if(bn->optstr[0] == '-') 2394 quotedzputs(bn->optstr, stdout); 2395 if(strcmp(bn->node.nam, bn->optstr)) { 2401 if(strcmp(bn->node.nam, bn->optstr)) { 2403 nicezputs(bn->optstr, stdout);
|
H A D | zsh.h | 1216 char *optstr; /* string of legal options */ member in struct:builtin 1220 #define BUILTIN(name, flags, handler, min, max, funcid, optstr, defopts) \ 1221 { { NULL, name, flags }, handler, min, max, funcid, optstr, defopts }
|
H A D | exec.c | 2333 char *modname = dupstring(((Builtin) hn)->optstr);
|
/macosx-10.9.5/mDNSResponder-522.92.1/Clients/ |
H A D | dns-sd.c | 1291 static int getfirstoption(int argc, char **argv, const char *optstr, int *pOptInd) argument 1292 // Return the recognized option in optstr and the option index of the next arg. 1299 NULL != strchr(optstr, argv[i][1])) 1309 int o = getopt(argc, (char *const *)argv, optstr);
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/ |
H A D | nvtype.c | 795 void nv_addtype(Namval_t *np, const char *optstr, Optdisc_t *op, size_t optsz) argument 802 if(optstr) 803 cp->optstring = optstr;
|
/macosx-10.9.5/zsh-60/zsh/Src/Modules/ |
H A D | parameter.c | 942 !linknodebystring(done, ((Builtin) hn)->optstr)) { 943 pm.node.nam = ((Builtin) hn)->optstr;
|
/macosx-10.9.5/emacs-92/emacs/lib-src/ |
H A D | etags.c | 202 # define getopt_long(argc,argv,optstr,lopts,lind) getopt (argc, argv, optstr)
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/ |
H A D | optget.c | 5490 * optstr(s, 0) 5492 * optstr(0, opts) 5497 optstr(const char* str, const char* opts) function
|