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

1234

/illumos-gate/usr/src/cmd/oamuser/lib/
H A Derrmsg.c41 extern char *cmdname;
55 (void) fprintf(stderr, "UX: %s: ", cmdname);
66 (void) fprintf(stderr, "UX: %s: ", cmdname);
70 (void) fprintf(stderr, "UX: %s: ", cmdname);
75 (void) fprintf(stderr, "UX: %s: ", cmdname);
80 (void) fprintf(stderr, "UX: %s: ", cmdname);
85 (void) fprintf(stderr, "UX: %s: ", cmdname);
90 (void) fprintf(stderr, "UX: %s: ", cmdname);
95 (void) fprintf(stderr, "UX: %s: ", cmdname);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dfuncs.h42 char *getusertype(char *cmdname);
/illumos-gate/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c103 static char *cmdname; /* Last qualifier of arg0 */ variable
141 if (cmdname = strrchr(argv[0], '/'))
142 ++cmdname;
144 cmdname = argv[0];
191 cmdname, size);
207 (void)fprintf(stderr, "%s: Message file \"%s\" already exists;\ndid not overwrite it\n", cmdname, pathoutp);
215 (void)fprintf(stderr, "%s: Message file \"%s\" already exists;\ndid not overwrite it\n", cmdname, ofilep);
225 cmdname, ifilep, syserr());
233 cmdname, 2 * LINESZ);
245 (void)fprintf(stderr, "%s: %s: %s\n", cmdname, work
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_halt.c53 char *cmdname; local
61 cmdname = basename(*argv);
65 if (strcmp(cmdname, "halt") == 0)
67 else if (strcmp(cmdname, "poweroff") == 0)
/illumos-gate/usr/src/cmd/clinfo/
H A Dclinfo.c44 static char *cmdname; variable
59 cmdname = argv[0]; /* put actual command name in messages */
109 (void) fprintf(stderr, "%s: ", cmdname);
117 (void) fprintf(stderr, "%s: %s -[bnh]\n", gettext("usage"), cmdname);
/illumos-gate/usr/src/cmd/psradm/
H A Dpsradm.c45 static char *cmdname; /* command name for messages */ variable
63 cmdname, cmdname, cmdname);
131 cmdname, cpu);
139 "add -F option to force change\n", cmdname, cpu);
149 cmdname, cpu);
172 openlog(cmdname, LOG_CONS, LOG_USER); /* open syslog */
211 cmdname, first, last);
229 cmdname
[all...]
/illumos-gate/usr/src/cmd/devmgmt/cmds/
H A Dlistdgrp.c145 char *cmdname; /* Simple command name */
155 if ((cmdname = strrchr(argv[0], '/')) != (char *) NULL) cmdname++;
156 else cmdname = argv[0];
157 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl));
142 char *cmdname; /* Simple command name */ local
H A Dgetdev.c155 char *cmdname; /* Simple command name */
168 if ((cmdname = strrchr(argv[0], '/')) != (char *) NULL) cmdname++;
169 else cmdname = argv[0];
170 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl));
153 char *cmdname; /* Simple command name */ local
H A Ddevattr.c168 char *cmdname; /* Pointer to command name */
206 cmdname = argv[0];
207 if ((p = strrchr(cmdname, '/')) != (char *) NULL) cmdname = p+1;
208 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl));
165 char *cmdname; /* Pointer to command name */ local
H A Dgetdgrp.c177 char *cmdname; /* Simple command name */
191 if (cmdname = strrchr(argv[0], '/')) cmdname++;
192 else cmdname = argv[0];
193 (void) strlcat(strcpy(lbl, "UX:"), cmdname, sizeof(lbl));
175 char *cmdname; /* Simple command name */ local
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c113 static char *cmdname; /* basename(argv[0]), the name of the command */ variable
416 cmdname, FMRI_GDM, scf_strerror(scf_error()));
424 cmdname, FMRI_GDM);
495 " (out of memory).\n"), cmdname);
507 cmdname);
510 cmdname, nz - 1);
526 cmdname, zones[i], strerror(errno));
536 cmdname, zname, strerror(errno));
545 cmdname, zname, strerror(errno));
584 cmdname);
[all...]
/illumos-gate/usr/src/cmd/srchtxt/
H A Dsrchtxt.c72 static char *cmdname; /* points to the name of the command */ variable
103 if (cmdname = strrchr(*argv, '/'))
104 ++cmdname;
106 cmdname = *argv;
145 cmdname);
166 "%s: ERROR: failed to access message file '%s'\n", cmdname, cp);
181 cmdname, pathname, syserr());
190 "%s: ERROR: failed to access message file '%s'\n", cmdname, pathname);
/illumos-gate/usr/src/cmd/oamuser/group/
H A Dgroupdel.c46 char *cmdname = "groupdel"; variable
/illumos-gate/usr/src/cmd/getent/
H A Dgetent.c36 static const char *cmdname; variable
77 cmdname = argv[0];
111 gettext("usage: %s database [ key ... ]\n"), cmdname);
/illumos-gate/usr/src/cmd/pginfo/
H A Dpginfo.pl86 our $cmdname = basename($0, ".pl");
128 printf gettext("%s version %s\n"), $cmdname, VERSION;
138 $cmdname;
147 $cmdname;
153 gettext("%s: option -p can not be used with -s\n"), $cmdname;
160 $cmdname;
179 $cmdname;
197 $cmdname;
234 $cmdname, $p->id_collapse(@bad_cpus);
252 $cmdname,
[all...]
/illumos-gate/usr/src/cmd/sgs/prof/common/
H A Drdelf.c44 (void) fprintf(stderr, "%s: can't open `%s'\n", cmdname, name);
49 (void) fprintf(stderr, "%s: libelf out of date\n", cmdname);
54 (void) fprintf(stderr, "%s: elf_begin failed\n", cmdname);
60 cmdname, name);
266 cmdname, filename);
273 "%s: can't handle more than 2^32 symbols", cmdname);
279 cmdname, filename);
287 cmdname, filename);
293 cmdname, nsyms * sizeof (nltype));
341 cmdname, filenam
[all...]
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c109 static char *cmdname; variable
155 cmdname = argv[0];
156 if (ap = strrchr(cmdname, '/'))
157 cmdname = ap + 1;
159 ap = cmdname;
247 cmdname);
261 cmdname);
513 cmdname, path);
536 gettext("%s: can't open \"%s\"\n"), cmdname, name);
563 cmdname, nam
[all...]
/illumos-gate/usr/src/cmd/stat/common/
H A Dcommon.c34 extern char *cmdname;
45 (void) fprintf(stderr, "%s: ", cmdname);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c123 char *cmdname; local
134 cmdname = argv[0];
170 usage(cmdname);
174 usage(cmdname);
179 usage(cmdname);
191 cmdname, targethost);
198 cmdname, targethost);
509 usage(cmdname)
510 char *cmdname;
513 "[-f <hostname>] -p bootparams|bootp\n", cmdname);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/sbin/ifparse/
H A Difparse.c311 char *cmdname; /* Command name */ local
353 cmdname = "set";
355 cmdname = "destination";
358 cmdname = "";
361 cmdname = cmd;
378 (void) fputs(cmdname, stdout);
412 parse_append_buf(cmdname);
/illumos-gate/usr/src/cmd/virtinfo/
H A Dvirtinfo.c45 static char *cmdname; variable
52 (void) fprintf(stderr, gettext("usage: %s [-%s]\n"), cmdname, options);
80 cmdname = basename(argv[0]);
130 "%s can only be run from the global zone\n"), cmdname);
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr.h71 char *cmdname; member in struct:sa_command
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_child.c62 prb_child_create(const char *cmdname, char * const *cmdargs, argument
169 tnf_string, cmdname, cmdname);
177 prbstat = find_executable(cmdname, executable_name);
/illumos-gate/usr/src/cmd/awk/
H A Dmain.c70 char *cmdname; /* gets argv[0] for error messages */ variable
96 cmdname = argv[0];
100 "[-v var=value] [files]\n"), cmdname);
213 argv[0] = cmdname; /* put prog name at front of arglist */
/illumos-gate/usr/src/cmd/pgstat/
H A Dpgstat.pl108 our $cmdname = basename($0, ".pl");
149 printf gettext("%s version %s\n"), $cmdname, VERSION;
159 $cmdname, $do_timestamp;
165 $cmdname;
171 $cmdname;
195 $cmdname, $sort_key;
218 $cmdname;
232 $cmdname;
254 $cmdname, $interval;
261 $cmdname,
[all...]

Completed in 89 milliseconds

1234