/freebsd-11-stable/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 75 static char *progname = NULL; variable 86 progname); 155 progname = basename(argv[0]);
|
/freebsd-11-stable/tools/tools/pciroms/ |
H A D | pciroms.c | 77 static char *progname = NULL; variable 105 progname = basename(argv[0]); 158 fprintf(stderr, "usage: %s [-s] [-b <base-address>]\r\n", progname);
|
/freebsd-11-stable/usr.sbin/wlandebug/ |
H A D | wlandebug.c | 50 const char *progname; variable 137 fprintf(stderr, "usage: %s [-d | -i device] [flags]\n", progname); 175 progname = argv[0];
|
/freebsd-11-stable/contrib/less/ |
H A D | main.c | 31 public char * progname; variable 83 progname = *argv++; 135 s = last_component(progname);
|
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | file.c | 468 isc_file_progname(const char *filename, char *progname, size_t namelen) { argument 474 REQUIRE(progname != NULL); 492 strcpy(progname, s); 503 strncpy(progname, s, len); 504 progname[len] = '\0';
|
/freebsd-11-stable/usr.sbin/bsdinstall/partedit/ |
H A D | partedit.c | 76 const char *progname, *prompt; local 82 progname = getprogname(); 83 if (strcmp(progname, "sade") == 0) 99 if (strcmp(progname, "autopart") == 0) { /* Guided */ 108 } else if (strcmp(progname, "scriptedpart") == 0) {
|
/freebsd-11-stable/usr.sbin/acpi/acpidb/ |
H A D | acpidb.c | 510 usage(const char *progname) argument 513 printf("usage: %s dsdt_file\n", progname); 520 char *progname; local 522 progname = argv[0]; 525 usage(progname);
|
/freebsd-11-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctfmerge.c | 210 const char *progname; variable 231 progname, progname, (int)strlen(progname), " ", 232 progname, progname); 765 progname = basename(argv[0]);
|
/freebsd-11-stable/contrib/amd/hlfsd/ |
H A D | hlfsd.c | 139 char *progname; local 168 if ((progname = strrchr(argv[0], '/')) != NULL) 169 progname++; 171 progname = argv[0]; 172 if ((int) strlen(progname) > PROGNAMESZ) /* truncate to reasonable size */ 173 progname[PROGNAMESZ] = '\0'; 174 am_set_progname(progname);
|
/freebsd-11-stable/contrib/tzcode/zic/ |
H A D | zdump.c | 152 static char * progname; variable 184 (void) fprintf(stderr, "\n%s: ", progname); 229 progname, zone, abbrp, wp); 255 progname=argv[0]; 295 progname, cutarg); 402 progname); 469 Report bugs to tz@elsie.nci.nih.gov.\n"), progname);
|
/freebsd-11-stable/contrib/apr/threadproc/unix/ |
H A D | proc.c | 345 const char *progname, 375 *progname == '/') { 381 if (access(progname, X_OK) == -1) { 387 /* todo: search PATH for progname then try to access it */ 524 * progname and args 567 execve(progname, (char * const *)args, (char * const *)env); 574 execv(progname, (char * const *)args); 582 execvp(progname, (char * const *)args); 588 progname);
|
/freebsd-11-stable/contrib/file/src/ |
H A D | file.c | 192 char *progname; local 202 if ((progname = strrchr(argv[0], '/')) != NULL) 203 progname++; 205 progname = argv[0]; 207 file_setprogname(progname); 692 file_setprogname(const char *progname) argument 694 file_progname = progname;
|
/freebsd-11-stable/contrib/ntp/util/ |
H A D | ntptime.c | 81 char const * progname; variable 114 progname = argv[0]; 190 progname, optargs,
|
/freebsd-11-stable/contrib/gcc/ |
H A D | toplev.h | 108 extern const char *progname;
|
/freebsd-11-stable/usr.sbin/lpr/lpq/ |
H A D | lpq.c | 92 progname = *argv; local
|
/freebsd-11-stable/contrib/amd/fsinfo/ |
H A D | fsi_util.c | 112 fprintf(stderr, "%s: Error, ", progname); 156 fprintf(stderr, "%s: Fatal, ", progname); 175 fprintf(stdout, "%s: ", progname); 209 progname, username, hostname, cp);
|
H A D | fsinfo.h | 55 extern char *progname;
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tw.help.c | 150 stderror(ERR_SYSTEM, progname, strerror(errno));
|
/freebsd-11-stable/contrib/binutils/ |
H A D | ltmain.sh | 29 # Usage: $progname [OPTION]... [MODE-ARG]... 56 # Try `$progname --help --mode=MODE' for a more detailed description of MODE. 66 # $progname: (GNU libtool 1.2435 2007/03/18 18:44:42) 2.1a 149 # In the unlikely event $progname began with a '-', it would play havoc with 150 # func_echo (imagine progname=-n), so we prepend ./ in that case: 151 progname=`$ECHO "X$progpath" | $Xsed -e "$basename" -e 's,^-,./-,'` 159 progpath="$progdir/$progname" 166 test -x "$progdir/$progname" && break 170 progpath="$progdir/$progname" 209 $ECHO "$progname [all...] |
/freebsd-11-stable/contrib/libreadline/examples/ |
H A D | fileman.c | 103 char *progname; variable 125 progname = argv[0];
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | svc_simple.c | 99 * progname - Server routine 105 char *(*progname)(char *), xdrproc_t inproc, xdrproc_t outproc, 214 pl->p_progname = progname;
|
/freebsd-11-stable/usr.sbin/crunch/crunchgen/ |
H A D | crunchgen.c | 260 void add_prog(char *progname); 404 add_prog(char *progname) argument 411 if (!strcmp(p2->name, progname)) 417 p2->name = strdup(progname); 441 printf("%s\n",progname); 607 char *dir_search(char *progname); 962 char *dir_search(char *progname) argument 969 snprintf(path, MAXPATHLEN, "%s/%s", dir->str, progname);
|
/freebsd-11-stable/usr.bin/etdump/ |
H A D | etdump.c | 206 usage(const char *progname) argument 210 path = strdup(progname);
|
/freebsd-11-stable/libexec/bootpd/ |
H A D | bootpd.c | 155 char *progname; 200 progname = strrchr(argv[0], '/'); 201 if (progname) progname++; 202 else progname = argv[0]; 207 report_init(0); /* uses progname */ 304 "%s: invalid debug level\n", progname); 344 "%s: invalid timeout specification\n", progname); 358 progname, argv[0][1]); 154 char *progname; variable
|
/freebsd-11-stable/usr.bin/dtc/ |
H A D | dtc.cc | 86 void version(const char* progname) argument 88 fprintf(stdout, "Version: %s %d.%d.%d compatible with gpl dtc %d.%d.%d\n", progname,
|