/macosx-10.10.1/dcerpc-61/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.10.1/dcerpc-61/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.10.1/dcerpc-61/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.10.1/bash-94.1.2/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.10.1/bind9-45.101/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.10.1/ksh-23/ksh/src/lib/libast/astsa/ |
H A D | option.h | 102 extern int optstr(const char*, const char*);
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/ |
H A D | option.h | 100 extern int optstr(const char*, const char*);
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/bltins/ |
H A D | misc.c | 400 register const char *optstr = sh_optbg; local 402 optstr = sh_optfg; 404 optstr = sh_optdisown; 405 while((n = optget(argv,optstr))) switch(n) 514 register const char *optstr; local 519 optstr = sh_optvpath; 524 optstr = sh_optvmap; 527 while(n = optget(argv, optstr)) switch(n)
|
/macosx-10.10.1/tcl-105/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.10.1/ppp-786.1.1/Controller/ |
H A D | ppp_socket_server.c | 1190 u_char *optstr = &opt->o_data[0]; local 1223 err = set_str_opt(opts, kSCEntNetInterface, kSCPropNetInterfaceDeviceName, (char*)optstr, len, 0); 1239 err = set_str_opt(opts, kSCEntNetModem, kSCPropNetModemConnectionScript, (char*)optstr, len, 0); 1271 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPCommTerminalScript, (char*)optstr, len, 0); 1274 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPCommRemoteAddress, (char*)optstr, len, 0); 1334 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPAuthName, (char*)optstr, len, 0); 1337 err = set_str_opt(opts, kSCEntNetPPP, kSCPropNetPPPAuthPassword, (char*)optstr, len, 0); 1363 //err = set_str_opt(&opts->misc.logfile, optstr, len);
|
/macosx-10.10.1/cups-408/cups/scheduler/ |
H A D | cupsfilter.c | 932 char *optstr, /* Filter options */ local 999 optstr = escape_options(num_options, options); 1067 argv[5] = optstr;
|
/macosx-10.10.1/xnu-2782.1.97/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.10.1/zsh-61/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"; 2333 char *optstr local 4566 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 | 1232 char *optstr; /* string of legal options */ member in struct:builtin 1236 #define BUILTIN(name, flags, handler, min, max, funcid, optstr, defopts) \ 1237 { { NULL, name, flags }, handler, min, max, funcid, optstr, defopts }
|
H A D | exec.c | 2367 char *modname = dupstring(((Builtin) hn)->optstr);
|
/macosx-10.10.1/mDNSResponder-561.1.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.10.1/ksh-23/ksh/src/cmd/ksh93/sh/ |
H A D | nvtype.c | 797 void nv_addtype(Namval_t *np, const char *optstr, Optdisc_t *op, size_t optsz) argument 804 if(optstr) 805 cp->optstring = optstr;
|
/macosx-10.10.1/zsh-61/zsh/Src/Modules/ |
H A D | parameter.c | 974 !linknodebystring(done, ((Builtin) hn)->optstr)) { 975 pm.node.nam = ((Builtin) hn)->optstr;
|
/macosx-10.10.1/emacs-93/emacs/lib-src/ |
H A D | etags.c | 202 # define getopt_long(argc,argv,optstr,lopts,lind) getopt (argc, argv, optstr)
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/misc/ |
H A D | optget.c | 5589 * optstr(s, 0) 5591 * optstr(0, opts) 5596 optstr(const char* str, const char* opts) function
|