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

1234567891011>>

/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/create/
H A Dmain.c89 CompressionType = optarg;
93 realprefix = optarg;
105 Prefix = optarg;
109 SizePkg = optarg;
113 SizeAll = optarg;
117 Contents = optarg;
121 Comment = optarg;
125 Desc = optarg;
129 DefaultGroup = optarg;
133 Install = optarg;
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/mi/
H A Dmi-getopt.c29 int *optind, char **optarg)
45 *optarg = NULL;
51 *optarg = NULL;
61 /* A non-simple optarg option. */
64 *optarg = argv[(*optind) + 1];
70 *optarg = NULL;
82 char *optarg; local
88 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) == -1)
26 mi_getopt(const char *prefix, int argc, char **argv, struct mi_opt *opts, int *optind, char **optarg) argument
H A Dmi-getopt.h45 struct mi_opt *opt, int *optind, char **optarg);
H A Dmi-cmd-target.c30 char *optarg; local
38 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) != -1
54 char *optarg; local
62 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) != -1
78 char *optarg; local
86 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) != -1
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/target/
H A Discsi-target.c68 iscsi_target_setvar(&tgt, "blocklen", optarg);
74 iscsi_target_setvar(&tgt, "configfile", optarg);
77 iscsi_target_setvar(&tgt, "target port", optarg);
80 if ((i = atoi(optarg)) > 0 && i < 128) {
81 iscsi_target_setvar(&tgt, "max sessions", optarg);
85 iscsi_target_setvar(&tgt, "iqn", optarg);
92 if (strcmp(optarg, "net") == 0) {
94 } else if (strcmp(optarg, "iscsi") == 0) {
96 } else if (strcmp(optarg, "scsi") == 0) {
98 } else if (strcmp(optarg, "al
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/hexdump/
H A Dhexsyntax.c84 add(optarg);
87 addfile(optarg);
90 if ((length = atoi(optarg)) < 0)
91 errx(1, "%s: bad length value", optarg);
98 if ((skip = strtol(optarg, &p, 0)) < 0)
99 errx(1, "%s: bad skip value", optarg);
/netbsd-6-1-5-RELEASE/usr.sbin/btpand/
H A Dbtpand.c95 if (!bt_aton(optarg, &remote_bdaddr)) {
98 if ((he = bt_gethostbyname(optarg)) == NULL)
100 optarg, hstrerror(h_errno));
108 control_path = optarg;
112 if (!bt_devaddr(optarg, &local_bdaddr))
113 err(EXIT_FAILURE, "%s", optarg);
118 if (strchr(optarg, '/') == NULL) {
119 asprintf(&ep, "/dev/%s", optarg);
122 interface_name = optarg;
128 ul = strtoul(optarg,
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gprof/
H A Dgprof.c216 if (optarg)
218 sym_id_add (optarg, INCL_ANNO);
234 if (optarg)
236 sym_id_add (optarg, INCL_EXEC);
242 if (optarg)
244 debug_level |= atoi (optarg);
260 sym_id_add (optarg, EXCL_TIME);
262 sym_id_add (optarg, EXCL_GRAPH);
265 sym_id_add (optarg, INCL_TIME);
267 sym_id_add (optarg, INCL_GRAP
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/include/
H A Dgetopt-compat.h30 #define optarg lutil_optarg macro
36 LDAP_LUTIL_V (char *) optarg;
/netbsd-6-1-5-RELEASE/usr.bin/tset/
H A Dtset.c96 add_mapping("arpanet", optarg);
99 add_mapping("dialup", optarg);
102 erasechar = optarg[0] == '^' && optarg[1] != '\0' ?
103 optarg[1] == '?' ? '\177' : CTRL(optarg[1]) :
104 optarg[0];
113 intrchar = optarg[0] == '^' && optarg[1] != '\0' ?
114 optarg[
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/mtree/
H A Dmtree.c96 parsetags(&excludetags, optarg);
102 if (!(freopen(optarg, "r", stdin)))
103 mtree_err("%s: %s", optarg, strerror(errno));
109 parsetags(&includetags, optarg);
113 while ((p = strsep(&optarg, " \t,")) != NULL)
118 while ((p = strsep(&optarg, " \t,")) != NULL)
136 if (! setup_getid(optarg))
139 optarg);
142 dir = optarg;
152 while ((p = strsep(&optarg, " \
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/
H A Drl.c52 extern char *optarg;
106 prompt = optarg;
109 fd = atoi(optarg);
112 fprintf (stderr, "%s: bad file descriptor `%s'\n", progname, optarg);
117 deftext = optarg;
120 nch = atoi(optarg);
123 fprintf (stderr, "%s: bad value for -n: `%s'\n", progname, optarg);
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/
H A Dmakefs.c123 if (strcmp(optarg, "be") == 0 ||
124 strcmp(optarg, "4321") == 0 ||
125 strcmp(optarg, "big") == 0) {
129 } else if (strcmp(optarg, "le") == 0 ||
130 strcmp(optarg, "1234") == 0 ||
131 strcmp(optarg, "little") == 0) {
136 warnx("Invalid endian `%s'.", optarg);
142 len = strlen(optarg) - 1;
143 if (optarg[len] == '%') {
144 optarg[le
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/iscsi/dist/src/osd/
H A Dosd-target.c115 device_set_var("directory", optarg);
118 cf = optarg;
121 g.port = (uint16_t) atoi(optarg);
124 (void) strlcpy(TargetName, optarg, sizeof(TargetName));
127 if (strcmp(optarg, "net") == 0) {
129 } else if (strcmp(optarg, "iscsi") == 0) {
131 } else if (strcmp(optarg, "scsi") == 0) {
133 } else if (strcmp(optarg, "osd") == 0) {
135 } else if (strcmp(optarg, "all") == 0) {
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/stand/common/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/libsa/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-6-1-5-RELEASE/sys/arch/ia64/stand/common/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-6-1-5-RELEASE/libexec/rexecd/unit-tests/
H A Drexec.c59 host = optarg;
62 user = optarg;
65 pass = optarg;
68 cmd = optarg;
/netbsd-6-1-5-RELEASE/sys/arch/arc/stand/boot/
H A Dgetopt.c41 char *optarg; /* argument associated with option */ variable
84 optarg = NULL;
90 optarg = place;
101 optarg = nargv[optind];
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/sh/
H A Dpr43417.c9 extern char *optarg;
19 maxbytes = atoll (optarg);
/netbsd-6-1-5-RELEASE/usr.bin/getopt/
H A Dgetopt.c30 if (optarg != NULL)
31 printf(" -%c %s", c, optarg);
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/stand/common/
H A Dinckern.c52 if ((optarg == 0) || (ifd != stdin))
54 total = strtoul(optarg, 0, 0);
58 if ((optarg == 0) || (total != 0) ||
59 (ifd = fopen(optarg, "r")) == 0)
63 if ((optarg == 0) || (ofd = fopen(optarg, "w")) == 0)
/netbsd-6-1-5-RELEASE/usr.bin/tip/
H A Dcu.c59 extern char *optarg;
92 if(strlen(optarg) > 1)
94 useresc = optarg[0];
97 if (strncmp(optarg, "hard", sizeof("hard") - 1 ) == 0)
100 if (strncmp(optarg, "soft",
104 if(strcmp(optarg, "none") != 0)
110 if(strcmp(optarg, "even") == 0)
113 if(strcmp(optarg, "odd") == 0)
116 if(strcmp(optarg, "none") != 0)
123 CU = optarg;
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/nl/
H A Dnl.c155 parse_numbering(optarg, BODY);
158 if (optarg[0] != '\0')
159 delim[0] = optarg[0];
160 if (optarg[1] != '\0')
161 delim[1] = optarg[1];
163 if (optarg[2] != '\0') {
166 optarg);
171 parse_numbering(optarg, FOOTER);
174 parse_numbering(optarg, HEADER);
178 val = strtol(optarg,
[all...]
/netbsd-6-1-5-RELEASE/libexec/httpd/
H A Dmain.c156 bozo_add_lua_map(&httpd, optarg, argv[optind]);
169 bozo_add_content_map_mime(&httpd, optarg, argv[optind],
188 bozo_set_pref(&prefs, "server software", optarg);
198 bozo_ssl_set_opts(&httpd, optarg, argv[optind++]);
202 bozo_set_pref(&prefs, "username", optarg);
210 bozo_set_pref(&prefs, "virtual base", optarg);
214 bozo_set_pref(&prefs, "index.html", optarg);
218 bozo_set_pref(&prefs, "port number", optarg);
252 bozo_set_pref(&prefs, "bind address", optarg);
256 bozo_set_pref(&prefs, "pid file", optarg);
[all...]

Completed in 167 milliseconds

1234567891011>>