Searched refs:progname (Results 126 - 150 of 284) sorted by relevance

1234567891011>>

/freebsd-11-stable/tools/regression/netinet/ipbroadcast/
H A Dipbroadcast.c75 static char *progname = NULL; variable
86 progname);
155 progname = basename(argv[0]);
/freebsd-11-stable/tools/tools/pciroms/
H A Dpciroms.c77 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 Dwlandebug.c50 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 Dmain.c31 public char * progname; variable
83 progname = *argv++;
135 s = last_component(progname);
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dfile.c468 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 Dpartedit.c76 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 Dacpidb.c510 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 Dctfmerge.c210 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 Dhlfsd.c139 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 Dzdump.c152 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 Dproc.c345 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 Dfile.c192 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 Dntptime.c81 char const * progname; variable
114 progname = argv[0];
190 progname, optargs,
/freebsd-11-stable/contrib/gcc/
H A Dtoplev.h108 extern const char *progname;
/freebsd-11-stable/usr.sbin/lpr/lpq/
H A Dlpq.c92 progname = *argv; local
/freebsd-11-stable/contrib/amd/fsinfo/
H A Dfsi_util.c112 fprintf(stderr, "%s: Error, ", progname);
156 fprintf(stderr, "%s: Fatal, ", progname);
175 fprintf(stdout, "%s: ", progname);
209 progname, username, hostname, cp);
H A Dfsinfo.h55 extern char *progname;
/freebsd-11-stable/contrib/tcsh/
H A Dtw.help.c150 stderror(ERR_SYSTEM, progname, strerror(errno));
/freebsd-11-stable/contrib/binutils/
H A Dltmain.sh29 # 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 Dfileman.c103 char *progname; variable
125 progname = argv[0];
/freebsd-11-stable/lib/libc/rpc/
H A Dsvc_simple.c99 * 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 Dcrunchgen.c260 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 Detdump.c206 usage(const char *progname) argument
210 path = strdup(progname);
/freebsd-11-stable/libexec/bootpd/
H A Dbootpd.c155 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 Ddtc.cc86 void version(const char* progname) argument
88 fprintf(stdout, "Version: %s %d.%d.%d compatible with gpl dtc %d.%d.%d\n", progname,

Completed in 378 milliseconds

1234567891011>>