Searched refs:progname (Results 26 - 50 of 260) sorted by relevance

1234567891011

/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Dwrite_pid.c39 pid_file_write (const char *progname) argument
44 if (asprintf (&ret, "%s%s.pid", _PATH_VARRUN, progname) < 0 || ret == NULL)
/freebsd-10.0-release/libexec/bootpd/
H A Dtrygetea.c29 char *progname; variable
39 progname = argv[0]; /* for report */
H A Dtrylook.c18 char *progname; variable
30 progname = argv[0]; /* for report */
H A Dtrygetif.c29 char *progname; variable
43 progname = argv[0]; /* for report */
/freebsd-10.0-release/tools/tools/ath/athkey/
H A Dathkey.c43 const char *progname; variable
68 progname, cp[0]);
75 "(not hex)\n", progname, cp[1]);
87 progname, arg, (unsigned long long) maxlen);
115 fprintf(stderr, "%s: unknown cipher %s\n", progname, name);
124 progname);
147 progname = argv[0];
171 progname, argv[0]);
/freebsd-10.0-release/usr.sbin/rtprio/
H A Drtprio.c56 const char *progname; local
59 progname = getprogname();
61 if (strcmp(progname, "rtprio") == 0)
63 else if (strcmp(progname, "idprio") == 0)
66 errx(1, "invalid progname");
/freebsd-10.0-release/contrib/ntp/clockstuff/
H A Dclktest.c32 #define progname clktestOptions.pzProgName macro
95 fprintf(stderr, "%s: open(%s): ", progname, *argv);
101 (void) fprintf(stderr, "%s: ioctl(TIOCEXCL): ", progname);
117 (void) fprintf(stderr, "%s: ioctl(TIOCSETP): ", progname);
123 (void) fprintf(stderr, "%s: fcntl(F_SETOWN): ", progname);
133 (void) fprintf(stderr, "%s: ioctl(TIOCSETD): ", progname);
142 (void) fprintf(stderr, "%s: ioctl(I_PUSH): ", progname);
147 (void) fprintf(stderr, "%s: ioctl(CLK_SETSTR): ", progname);
163 progname);
240 progname);
[all...]
/freebsd-10.0-release/tools/tools/tionxcl/
H A Dtionxcl.c49 char *progname; local
56 progname = basename(argv[0]);
58 errx(EX_USAGE, "usage: %s <ttyname>\n", progname);
/freebsd-10.0-release/contrib/gdb/
H A Dltconfig179 progname=`$echo "X$0" | $Xsed -e 's%^.*/%%'`
190 help="Try \`$progname --help' for more information."
313 Usage: $progname [OPTION]... LTMAIN [HOST]
351 echo "$progname: enabling shell trace mode"
391 echo "$progname: unrecognized option \`$option'" 1>&2
402 # echo "$progname: warning \`$option' is not a valid host type" 1>&2
406 echo "$progname: too many arguments" 1>&2
414 echo "$progname: you must specify a LTMAIN file" 1>&2
420 echo "$progname: \`$ltmain' does not exist" 1>&2
430 echo "$progname
[all...]
/freebsd-10.0-release/tools/tools/ath/athradar/
H A Dathradar.c244 usage(const char *progname) argument
247 printf("\t%s: [-i <interface>] <cmd> (<arg>)\n", progname);
248 printf("\t%s: [-h]\n", progname);
260 const char *progname = argv[0]; local
266 usage(progname);
270 usage(progname);
276 usage(progname);
285 usage(progname);
296 usage(progname);
300 usage(progname);
[all...]
/freebsd-10.0-release/contrib/ipfilter/tools/
H A Dipsyncs.c37 void usage __P((const char *progname));
41 void usage(const char *progname) { argument
44 progname);
68 char *progname; local
70 progname = strrchr(argv[0], '/');
71 if (progname) {
72 progname++;
74 progname = argv[0];
78 usage(progname);
88 openlog(progname, LOG_PI
[all...]
/freebsd-10.0-release/contrib/file/
H A Dfile.c122 private char *progname; /* used throughout */ variable
155 if ((progname = strrchr(argv[0], '/')) != NULL)
156 progname++;
158 progname = argv[0];
252 (void)fprintf(stdout, "%s-%s\n", progname, VERSION);
289 (void)fprintf(stderr, "%s: %s\n", progname,
307 (void)fprintf(stderr, "%s: %s\n", progname,
353 (void)fprintf(stderr, "%s: %s\n", progname, strerror(errno));
358 progname, magic_error(magic));
384 progname, f
[all...]
/freebsd-10.0-release/contrib/xz/src/lzmainfo/
H A Dlzmainfo.c34 "Show information stored in the .lzma file header"), progname);
106 fprintf(stderr, "%s: %s: %s\n", progname, name,
120 fprintf(stderr, "%s: %s: %s\n", progname, name,
125 fprintf(stderr, "%s: %s\n", progname, strerror(ENOMEM));
129 fprintf(stderr, "%s: %s\n", progname,
203 progname,
/freebsd-10.0-release/games/pom/
H A Dpom.c79 static void usage(char *progname);
89 char *progname = argv[0]; local
103 usage(progname);
110 usage(progname);
235 usage(char *progname) argument
239 progname);
/freebsd-10.0-release/bin/echo/
H A Decho.c79 char *progname = argv[0]; local
92 errexit(progname, "malloc");
132 errexit(progname, "write");
/freebsd-10.0-release/tools/tools/ath/ath_prom_read/
H A Dath_prom_read.c45 const char *progname; variable
56 fprintf(stderr, " %s [-i ifname] -d <dumpfile>\n", progname);
98 progname = argv[0];
/freebsd-10.0-release/tools/tools/ath/athspectral/
H A Dathspectral.c273 usage(const char *progname) argument
276 printf("\t%s: [-i <interface>] <cmd> (<arg>)\n", progname);
277 printf("\t%s: [-h]\n", progname);
292 const char *progname = argv[0]; local
298 usage(progname);
302 usage(progname);
308 usage(progname);
317 usage(progname);
328 usage(progname);
332 usage(progname);
[all...]
/freebsd-10.0-release/contrib/gcc/
H A Dgenconstants.c53 progname = "genconstants";
/freebsd-10.0-release/contrib/xz/src/common/
H A Dtuklib_exit.c38 fprintf(stderr, "%s: %s: %s\n", progname,
/freebsd-10.0-release/contrib/amd/amd/
H A Damd.c393 char *progname = NULL; /* "amd" */ local
411 progname = strrchr(argv[0], '/');
412 if (progname && progname[1])
413 progname++;
415 progname = argv[0];
417 if (!progname)
418 progname = "amd";
419 am_set_progname(progname);
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dmake-relative-prefix.c24 @deftypefn Extension {const char*} make_relative_prefix (const char *@var{progname}, const char *@var{bin_prefix}, const char *@var{prefix})
26 Given three paths @var{progname}, @var{bin_prefix}, @var{prefix},
28 @var{progname}'s directory as @var{prefix} is relative to
30 portion of @var{progname}, followed by a relative pathname of the
33 If @var{progname} does not contain any directory separators,
35 named @var{progname}. Also, if @var{progname} is a symbolic link,
39 @var{prefix} is @code{/alpha/beta/gamma/omega/}, and @var{progname} is
221 make_relative_prefix (const char *progname, argument
230 if (progname
[all...]
/freebsd-10.0-release/sbin/md5/
H A Dmd5.c62 const char *progname; member in struct:Algorithm_t
135 const char* progname; local
137 if ((progname = strrchr(argv[0], '/')) == NULL)
138 progname = argv[0];
140 progname++;
143 if (strcasecmp(Algorithm[digest].progname, progname) == 0)
393 fprintf(stderr, "usage: %s [-pqrtx] [-c string] [-s string] [files ...]\n", alg->progname);
/freebsd-10.0-release/usr.bin/ar/
H A Dutil.c49 fprintf(stderr, "%s: warning: ", bsdar->progname);
70 fprintf(stderr, "%s: fatal: ", bsdar->progname);
/freebsd-10.0-release/contrib/nvi/common/
H A Dmain.c93 if (!strcmp(gp->progname, "ex") || !strcmp(gp->progname, "nex"))
97 if (!strcmp(gp->progname, "nview") ||
98 !strcmp(gp->progname, "view"))
106 if (v_obsolete(gp->progname, argv))
130 v_estr(gp->progname, 0,
146 v_estr(gp->progname, 0,
167 v_estr(gp->progname, 0,
182 v_estr(gp->progname, errno, optarg);
191 v_estr(gp->progname,
[all...]
/freebsd-10.0-release/libexec/bootpd/tools/bootpef/
H A Dbootpef.c97 char *progname;
138 progname = strrchr(argv[0], '/');
139 if (progname) progname++;
140 else progname = argv[0];
95 char *progname; variable

Completed in 150 milliseconds

1234567891011