Searched refs:optarg (Results 1 - 25 of 99) sorted by relevance

1234

/osnet-11/usr/src/lib/libc/port/gen/
H A Dopt_data.c42 char *optarg = 0; variable
H A Dgetopt.c228 optarg = NULL;
250 * of optarg as follows:
253 * by an element of argv, then optarg contains the next element
259 * 2. Otherwise, optarg points to the string following the option
274 optarg = &argv[optind++][_sp+1];
281 optarg = longoptarg;
286 optarg = NULL;
289 optarg = argv[optind++];
298 optarg = longoptarg = NULL;
306 optarg
[all...]
/osnet-11/usr/src/lib/libast/common/include/
H A Dast_getopt.h37 extern char* optarg;
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dt-memstat.c27 extern char *optarg;
59 l = strtol(optarg, NULL, 0);
63 sz = strtol(optarg, NULL, 0);
67 resource = strdup(optarg);
71 slp = strtol(optarg, NULL, 0);
H A Dtest.c25 extern char *optarg;
82 sm_debug_addsettings_x(optarg);
/osnet-11/usr/src/lib/efcode/interpreter/
H A Dinterpreter.c94 extern char *optarg;
118 debug = debug_flags_to_mask(optarg);
125 if ((errlog = strchr(optarg, ':')) != NULL) {
127 error_log_flags = parse_msg_flags(optarg);
129 errlog = optarg;
136 syslog_flags = parse_msg_flags(optarg);
145 fcode_file = optarg;
154 forthstr = optarg;
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dgetopt1.c116 if (optarg)
117 printf (" with arg %s", optarg);
146 printf ("option c with value `%s'\n", optarg);
150 printf ("option d with value `%s'\n", optarg);
H A Dgetopt.in.h61 # undef optarg macro
72 # define optarg __GETOPT_ID (optarg) macro
138 extern char *optarg;
179 a compiled-in constant, such as set a value from `optarg', set the
214 takes an argument, to be placed in `optarg'.
H A Dgetopt_int.h77 char *optarg;
76 char *optarg; member in struct:_getopt_data
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Dgetopt1.c136 if (optarg)
137 printf (" with arg %s", optarg);
166 printf ("option c with value `%s'\n", optarg);
170 printf ("option d with value `%s'\n", optarg);
H A Dgetopt.h35 extern char *optarg;
75 a compiled-in constant, such as set a value from `optarg', set the
H A Dgetopt.c116 char *optarg = NULL;
487 ARGV-element, is returned in `optarg'. Two colons mean an option that
489 it is returned in `optarg', otherwise `optarg' is set to zero.
527 optarg = NULL;
615 optarg = argv[optind++];
701 optarg = nameend + 1;
726 optarg = argv[optind++];
813 optarg = nextchar;
836 optarg
115 char *optarg = NULL; variable
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dast_getopt.h20 extern __MANGLE__ char* optarg;
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dast_getopt.h20 extern __MANGLE__ char* optarg;
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dast_getopt.h20 extern __MANGLE__ char* optarg;
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_getopt.h20 extern __MANGLE__ char* optarg;
/osnet-11/usr/src/grub/grub-0.97/grub/
H A Dmain.c168 if (! optarg)
171 hold = atoi (optarg);
175 strncpy (config_file, optarg, 127); /* FIXME: arbitrary */
180 install_partition = strtoul (optarg, 0, 0);
189 boot_drive = strtoul (optarg, 0, 0);
233 device_map_file = strdup (optarg);
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetopt.c42 char* optarg = 0;
73 optarg = opt_info.arg;
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dmain.c146 root_dev = xstrdup (optarg);
150 dir = xstrdup (optarg);
153 dev_map = optarg;
160 hold = (optarg ? atoi (optarg) : -1);
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal_set_property.c162 key = strdup (optarg);
164 str_value = strdup (optarg);
167 int_value = strtol (optarg, NULL, 0);
170 uint64_value = strtoull (optarg, NULL, 0);
173 double_value = (double) atof (optarg);
176 if (strcmp (optarg, "true") == 0)
178 else if (strcmp (optarg, "false") == 0)
186 str_value = strdup (optarg);
189 str_value = strdup (optarg);
192 str_value = strdup (optarg);
[all...]
H A Dhal-is-caller-privileged.c146 udi = strdup (optarg);
148 caller = strdup (optarg);
150 privilege = strdup (optarg);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-version-check.c168 grub_util_info ("source file is: %s", optarg);
169 source_fp = fopen (optarg, "r");
171 grub_util_error (_("cannot open %s"), optarg);
174 grub_util_info ("compare to file is: %s", optarg);
175 dest_fp = fopen (optarg, "r");
177 grub_util_error (_("cannot open %s"), optarg);
180 versioning_type = xstrdup(optarg);
/osnet-11/usr/src/cmd/policykit/
H A Dpolkit-is-privileged.c99 system_bus_unique_name = g_strdup (optarg);
103 user = g_strdup (optarg);
107 resource = g_strdup (optarg);
111 privilege = g_strdup (optarg);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c91 mode = strtol(optarg, 0, 8);
94 uid = atoi(optarg);
/osnet-11/usr/src/cmd/ldap/common/
H A Dldapsearch.c51 static void options_callback( int option, char *optarg );
56 static char **get_effectiverights_attrlist(char * optarg);
360 options_callback( int option, char *optarg )
406 if ( strncasecmp( optarg, "base", 4 ) == 0 ) {
408 } else if ( strncasecmp( optarg, "one", 3 ) == 0 ) {
410 } else if ( strncasecmp( optarg, "sub", 3 ) == 0 ) {
419 if ( strncasecmp( optarg, "never", 5 ) == 0 ) {
421 } else if ( strncasecmp( optarg, "search", 5 ) == 0 ) {
423 } else if ( strncasecmp( optarg, "find", 4 ) == 0 ) {
425 } else if ( strncasecmp( optarg, "alway
1391 get_effectiverights_attrlist(char * optarg) argument
[all...]

Completed in 67 milliseconds

1234