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

/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dcvsrc.c33 read_cvsrc (int *argc, char ***argv, const char *cmdname) argument
90 command_len = strlen (cmdname);
100 if (!strncmp (line, cmdname, command_len)
H A Dcvs.h674 void read_cvsrc (int *argc, char ***argv, const char *cmdname);
/netbsd-6-1-5-RELEASE/sbin/iscsictl/
H A Discsic_main.c200 static char *cmdname; /* pointer to command name for error msgs */ variable
253 progname, cmdname, argp, lbuf);
271 warnx("%s: Missing argument: %s", cmdname, arg);
296 progname, cmdname, lbuf, strerror(errno));
320 fprintf(stderr, "%s: %s: %s\n", progname, cmdname, lbuf);
343 warnx("%s: Unrecognized argument '%s'", cmdname, argv[i]);
369 warnx("%s: %s", cmdname, status_msg[i].str);
371 warnx("%s: Undefined error code %d", cmdname, n);
562 cmdname = argv[optind];
565 if (strcmp(c->cmd, cmdname)
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/mlxctl/
H A Dmain.c82 const char *cmdname, *dv; local
109 if ((cmdname = argv[optind++]) == NULL)
122 if (strcmp(cmdname, cmd->label) == 0)
/netbsd-6-1-5-RELEASE/external/historical/nawk/dist/
H A Dmain.c46 char *cmdname; /* gets argv[0] for error messages */ variable
107 cmdname = argv[0];
111 cmdname);
208 argv[0] = cmdname; /* put prog name at front of arglist */
H A Dlib.c554 extern char *cmdname, *curfname;
560 fprintf(stderr, "%s: ", cmdname);
604 extern char *cmdname;
608 fprintf(stderr, "%s: ", cmdname);
620 extern char *cmdname;
624 fprintf(stderr, "%s: ", cmdname);
/netbsd-6-1-5-RELEASE/bin/sh/
H A Dexec.c94 char cmdname[ARB]; /* name of command */ member in struct:tblentry
124 char *cmdname; local
132 while ((cmdname = padvance(&path, argv[0])) != NULL) {
134 tryexec(cmdname, argv, envp, vforked);
138 stunalloc(cmdname);
395 name = padvance(&path, cmdp->cmdname);
401 out1fmt("special builtin %s", cmdp->cmdname);
404 out1fmt("builtin %s", cmdp->cmdname);
407 out1fmt("function %s", cmdp->cmdname);
419 error("internal error: %s cmdtype %d", cmdp->cmdname, cmd
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/pcictl/
H A Dpcictl.c74 static const char *cmdname; variable
112 cmdname = argv[2];
118 if (strcmp(cmdname, commands[i].cmd_name) == 0)
121 errx(EXIT_FAILURE, "unknown command: %s", cmdname);
/netbsd-6-1-5-RELEASE/sbin/dkctl/
H A Ddkctl.c89 static const char *cmdname; /* command user issued */ variable
176 cmdname = argv[2];
190 command = lookup(cmdname);
242 cmdname = "strategy";
248 cmdname = "getcache";
254 cmdname = "listwedges";
/netbsd-6-1-5-RELEASE/sbin/dmctl/
H A Ddmctl.c70 static const char *cmdname; /* command user issued */ variable
166 cmdname = argv[1];
182 if (strcmp(cmdname, commands[i].cmd_name) == 0)
186 errx(EXIT_FAILURE, "unknown command: %s", cmdname);
189 cmdname = commands[i].ioctl_cmd_name;
202 task = libdm_task_create(cmdname);
/netbsd-6-1-5-RELEASE/usr.bin/rpcgen/
H A Drpc_main.c84 static char *cmdname; variable
286 f_print(stderr, "%s: output would overwrite %s\n", cmdname,
292 f_print(stderr, "%s: unable to open ", cmdname);
350 fprintf(stderr, "%s: C PreProcessor failed\n", cmdname);
358 f_print(stderr, "%s: ", cmdname);
364 fprintf(stderr, "%s: out of memory\n", cmdname);
389 f_print(stderr, "%s: ", cmdname);
916 cmdname = argv[0];
1118 f_print(stderr, "usage: %s infile\n", cmdname);
1120 cmdname);
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/cmd/zfs/
H A Dzfs_main.c3013 const char *cmdname = op == OP_SHARE ? "share" : "mount"; local
3035 "dataset is exported to a local zone\n"), cmdname,
3044 "permission denied\n"), cmdname,
3084 "legacy mountpoint\n"), cmdname, zfs_get_name(zhp));
3086 "%s this filesystem\n"), cmdname, cmdname);
3095 "mountpoint set\n"), cmdname, zfs_get_name(zhp));
3114 "'canmount' property is set to 'off'\n"), cmdname,
3490 const char *cmdname = (op == OP_SHARE) ? "unshare" : "unmount"; local
3501 cmdname, pat
4108 char *cmdname; local
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dlesskey.c90 struct cmdname struct
96 struct cmdname cmdnames[] =
158 struct cmdname editnames[] =
185 struct cmdname *names;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/include/
H A Dtrimble.h128 const char *cmdname; /* command name */ member in struct:cmd_info
/netbsd-6-1-5-RELEASE/sbin/atactl/
H A Datactl.c123 static const char *cmdname; /* command user issued */ variable
333 cmdname = argv[2];
365 if (strcmp(cmdname, device_commands[i].cmd_name) == 0) {
372 if (strcmp(cmdname, bus_commands[i].cmd_name) == 0) {
379 errx(1, "unknown command: %s", cmdname);
1064 if (strcmp(cmdname, "idle") == 0)
1066 else if (strcmp(cmdname, "standby") == 0)
1151 req.command = cmdname[3] == 's' ? WDCC_STANDBY : WDCC_IDLE;
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dread.c1346 char *cmdname;
1355 cmdname = line[3] == 'd' ? "ifndef" : "ifneq";
1356 line += cmdname[3] == 'd' ? 7 : 6;
1360 cmdname = line[2] == 'd' ? "ifdef" : "ifeq";
1361 line += cmdname[2] == 'd' ? 6 : 5;
1368 cmdname = notdef ? "endif" : "else";
1374 if (*cmdname == 'e')
1377 error (flocp, _("Extraneous text after `%s' directive"), cmdname);
1380 fatal (flocp, _("extraneous `%s'"), cmdname);
1432 if (cmdname[notde
1341 char *cmdname; local
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dcomplete.c801 char *cmdname; local
816 cmdname = get_cmdname(cp);
817 cp += strlen(cmdname);
821 li.buffer = cmdname;
825 c = lex(cmdname);
/netbsd-6-1-5-RELEASE/sbin/bioctl/
H A Dbioctl.c147 const char *cmdname; local
157 cmdname = argv[2];
163 if (strcmp(cmdname, commands[i].cmd_name) == 0)
166 errx(EXIT_FAILURE, "unknown command: %s", cmdname);
/netbsd-6-1-5-RELEASE/sbin/scsictl/
H A Dscsictl.c74 const char *cmdname; /* command user issued */ variable
141 cmdname = argv[2];
179 if (strcmp(cmdname, commands[i].cmd_name) == 0)
183 commands == bus_commands ? "bus" : "device", cmdname);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/cmd/zdb/
H A Dzdb.c73 const char cmdname[] = "zdb"; variable
110 cmdname, cmdname, cmdname, cmdname, cmdname, cmdname, cmdname);
169 (void) fprintf(stderr, "%s: ", cmdname);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/
H A Dtop.c1435 char *cmdname = "verbose";
1438 showcmd = lookup_cmd_1 (&cmdname, showlist, NULL, 1);
1424 char *cmdname = "verbose"; local
H A Dprintcmd.c931 validate_format (struct format_data fmt, char *cmdname)
934 error (_("Size letters are meaningless in \"%s\" command."), cmdname);
937 cmdname);
940 fmt.format, cmdname);
927 validate_format(struct format_data fmt, char *cmdname) argument
936 fmt.format, cmdname); local
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/cmd/zpool/
H A Dzpool_main.c4240 char *cmdname; local
4263 cmdname = argv[1];
4268 if (strcmp(cmdname, "-?") == 0)
4277 if (find_command_idx(cmdname, &i) == 0) {
4280 } else if (strchr(cmdname, '=')) {
4284 } else if (strcmp(cmdname, "freeze") == 0 && argc == 3) {
4295 "command '%s'\n"), cmdname);
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dawi.c1508 static const char *cmdname[] = { local
1516 if (cmd >= sizeof(cmdname)/sizeof(cmdname[0]))
1519 printf("awi_cmd: %s", cmdname[cmd]);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c110 static char cmdname[] = "ztest"; variable
111 static char *zopt_pool = cmdname;
486 cmdname,

Completed in 371 milliseconds