Searched defs:progname (Results 1 - 25 of 135) sorted by relevance

123456

/illumos-gate/usr/src/cmd/volcheck/
H A Dvolcheck.c40 char *progname = "volcheck"; variable
47 progname);
/illumos-gate/usr/src/cmd/prtdiag/
H A Dmain.c57 char *progname = setpname(argv[0]); local
67 progname);
82 (void) fprintf(stderr, "Usage: %s [-lv]\n", progname);
87 return (do_prominfo(syserrlog, progname, logging, print_flag));
/illumos-gate/usr/src/cmd/eeprom/common/
H A Derror.c33 char *progname; variable
45 progname = name;
62 if (progname)
63 (void) fprintf(stderr, "%s: ", progname);
/illumos-gate/usr/src/cmd/roles/
H A Droles.c47 static char *progname = "roles"; variable
81 (void) fprintf(stderr, "%s: ", progname);
87 (void) fprintf(stderr, "%s: %s : ", progname, username);
/illumos-gate/usr/src/cmd/fs.d/smbclnt/lsacl/
H A Dlsacl.c49 char *progname; variable
61 fprintf(stderr, "Usage: %s [-v] file ...\n", progname);
70 progname = argv[0];
81 progname, c);
116 progname, strerror(error));
139 progname, strerror(error));
/illumos-gate/usr/src/cmd/sysdef/
H A Dsdevinfo.c40 static char *progname = "sysdef"; variable
142 if (progname)
143 (void) fprintf(stderr, "%s: ", progname);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dcompare.c44 char *progname; variable
50 fprintf(stderr, "Usage: %s ctf_file stab_file\n", progname);
60 progname = argv[0];
/illumos-gate/usr/src/test/zfs-tests/cmd/randfree_file/
H A Drandfree_file.c38 static void usage(char *progname);
41 usage(char *progname) argument
45 "[-n section-len] filename\n", progname);
/illumos-gate/usr/src/cmd/uuidgen/
H A Duuidgen.c23 static char *progname; variable
31 "Usage: %s [-r | -t] [-o filename]\n"), progname);
49 progname = basename(argv[0]);
63 progname, optarg);
90 "generate uuid\n"), progname);
/illumos-gate/usr/src/cmd/hostname/
H A Dhostname.c53 static char *progname; variable
59 basename(progname));
75 progname = argv[0];
96 basename(progname));
116 basename(progname), strerror(err));
/illumos-gate/usr/src/cmd/volrmmount/
H A Dvolrmmount.c41 char *progname = "volrmmount"; variable
49 progname);
51 gettext("or: %s -d\n"), progname);
/illumos-gate/usr/src/cmd/cmd-inet/lib/netcfgd/
H A Dnetcfgd.c52 static const char *progname; variable
65 (void) fprintf(stderr, "%s: %s\n", progname, str);
90 openlog(progname, LOG_PID, LOG_DAEMON);
92 nlog(LOG_DEBUG, "%s started", progname);
145 if ((progname = strrchr(argv[0], '/')) == NULL)
146 progname = argv[0];
148 progname++;
157 progname, optopt);
/illumos-gate/usr/src/cmd/fs.d/smbclnt/chacl/
H A Dchacl.c56 char *progname; variable
68 fprintf(stderr, Usage, progname);
83 progname = argv[0];
104 progname, c);
111 progname, c);
129 progname, acl_arg);
134 progname, acl_arg);
199 fprintf(stderr, "%s: failed to convert ACL\n", progname);
/illumos-gate/usr/src/cmd/getdevpolicy/
H A Dgetdevpolicy.c42 static char *progname; variable
50 (void) fprintf(stderr, "%s: %s: %s\n", progname, s, strerror(errno));
58 (void) fprintf(stderr, "%s: %s\n", progname, s);
146 progname = basename(argv[0]);
/illumos-gate/usr/src/cmd/ksh/builtins/
H A Dalias.c234 const char *progname; local
242 progname = (const char *)strrchr(execnamebuff, '/');
243 if (progname != NULL) {
244 progname++;
248 progname = execnamebuff;
252 if (brec = find_bfastpathrec(progname)) {
/illumos-gate/usr/src/cmd/boot/mbr/
H A Dmbr.c41 usage(char *progname) argument
44 basename(progname));
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_sun4u.c55 char *progname; variable
89 progname = pgname;
/illumos-gate/usr/src/cmd/vi/misc/
H A Dmkstr.c67 char *progname; variable
77 argc--, progname = *argv++;
81 fprintf(stderr, usagestr, progname), exit(1);
/illumos-gate/usr/src/cmd/powertop/common/
H A Dutil.c52 static char *progname; variable
57 progname = basename(name);
70 if (progname != NULL)
71 (void) fprintf(stderr, PROG_FMT, progname);
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c75 const char *progname; variable
80 (void) fprintf(stderr, "Usage: %s -f flag_val file\n", progname);
164 progname = basename(argv[0]);
/illumos-gate/usr/src/cmd/krb5/kdestroy/
H A Dkdestroy.c69 char *progname; variable
87 progname);
128 progname = GET_PROGNAME(argv[0]);
204 com_err(progname, retval, gettext("while initializing krb5"));
221 progname, code);
226 com_err(progname, code,
238 com_err (progname, code, gettext("while resolving %s"), cache_name);
244 com_err(progname, code, gettext("while getting default ccache"));
256 ("%s: Could not obtain principal name from cache\n"), progname);
260 ("%s: Could not unparse principal name found in cache\n"), progname);
[all...]
/illumos-gate/usr/src/cmd/krb5/kproplog/
H A Dkproplog.c22 static char *progname; variable
28 progname);
215 progname = argv[0];
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c71 char progname[MAXNAMELEN] = {0}; variable
94 (void) strlcpy(progname, basename(argv[0]), sizeof (progname));
232 (void) fprintf(stderr, gettext("usage: %s [-d]\n"), progname);
/illumos-gate/usr/src/cmd/tic/
H A Dtic_main.c101 char *progname; variable
115 progname = argv[0];
133 argv[0], progname, usage_string);
175 fprintf(stderr, "%s: Can't open %s\n", progname, source_file);
190 progname, destination);
196 progname, destination);
226 progname, destination, dir);
231 progname, destination, dir);
267 progname);
/illumos-gate/usr/src/cmd/mailwrapper/
H A Dmailwrapper.c87 char progname[PATH_MAX+1]; local
96 strncpy(progname, name, sizeof (progname));
122 progname, _PATH_MAILERCONF);
145 if (strcmp(from, progname) == 0) {

Completed in 98 milliseconds

123456