/freebsd-current/contrib/mandoc/ |
H A D | test-progname.c | 6 const char * progname; local 8 progname = getprogname(); 9 return progname == NULL;
|
H A D | compat_progname.c | 19 static const char *progname; variable 24 progname = name; 30 return progname;
|
H A D | demandoc.c | 41 static const char *progname; variable 51 progname = "demandoc"; 52 else if ((progname = strrchr(argv[0], '/')) == NULL) 53 progname = argv[0]; 55 ++progname; 107 fprintf(stderr, "usage: %s [-w] [files...]\n", progname);
|
/freebsd-current/lib/libc/gen/ |
H A D | setprogname.c | 7 setprogname(const char *progname) argument 11 p = strrchr(progname, '/'); 15 __progname = progname;
|
/freebsd-current/contrib/xz/src/common/ |
H A D | tuklib_progname.h | 22 # define progname program_invocation_name macro 24 # define progname TUKLIB_SYMBOL(tuklib_progname) 25 extern char *progname;
|
H A D | tuklib_progname.c | 18 char *progname = NULL; variable 48 progname = argv[0];
|
/freebsd-current/tools/build/cross-build/ |
H A D | progname.c | 47 setprogname(const char *progname) argument 49 __progname = progname;
|
/freebsd-current/crypto/heimdal/lib/vers/ |
H A D | print_version.c | 44 print_version(const char *progname) argument 48 if(progname == NULL) 49 progname = getprogname(); 53 fprintf(stderr, "%s (%s)\n", progname, package_list);
|
/freebsd-current/contrib/kyua/utils/cmdline/ |
H A D | globals.hpp | 42 const std::string& progname(void);
|
H A D | globals_test.cpp | 40 ATF_REQUIRE_EQ("foobar", cmdline::progname()); 48 ATF_REQUIRE_EQ("barbaz", cmdline::progname()); 56 ATF_REQUIRE_EQ("program", cmdline::progname()); 64 ATF_REQUIRE_EQ("program", cmdline::progname()); 67 ATF_REQUIRE_EQ("foo", cmdline::progname());
|
/freebsd-current/contrib/ntp/sntp/ |
H A D | sntp.c | 5 const char * progname; variable
|
H A D | log.h | 25 extern char const *progname; /* for msyslog use too */
|
/freebsd-current/lib/libpathconv/tests/ |
H A D | test.pl | 89 $progname = 'abs2rel'; 92 chop($result = `./$progname $d[0] $d[1]`); 97 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n"; 103 chop($result = `./$progname $d[0] $d[1]`); 108 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n"; 112 $progname = 'rel2abs'; 115 chop($result = `./$progname $d[0] $d[1]`); 120 print LOG "$progname $d[0] $d[1] -> $result (It should be '$d[2]')\n"; 126 chop($result = `./$progname $d[2] $d[1]`); 131 print LOG "$progname [all...] |
/freebsd-current/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | lldb-server.cpp | 27 static void display_usage(const char *progname) { argument 33 progname, progname, progname); 58 const char *progname = argv[0]; local 60 display_usage(progname); 79 display_usage(progname);
|
/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | warnerr.c | 43 const char *progname = getprogname(); local 45 if(progname != NULL){ 46 fprintf(stderr, "%s", progname);
|
/freebsd-current/cddl/contrib/opensolaris/cmd/mdb/tools/common/ |
H A D | util.h | 44 extern const char *progname;
|
H A D | die.c | 44 const char *progname = getprogname(); local 47 (void) fprintf(stderr, "%s: ", progname); 69 const char *progname = getprogname(); local 72 (void) fprintf(stderr, "%s: ", progname);
|
/freebsd-current/usr.sbin/acpi/acpidump/ |
H A D | acpidump.c | 44 usage(const char *progname) argument 48 "[-o dsdt_output]\n", progname); 50 progname); 59 char *progname; local 63 progname = argv[0]; 66 usage(progname); 87 usage(progname); 98 usage(progname); 101 usage(progname);
|
/freebsd-current/crypto/openssl/test/ |
H A D | bio_prefix_text.c | 94 static int setup_bio_chain(const char *progname) argument 145 const char *progname = opt_getprog(); local 168 progname, arg); 173 progname); 176 if (!setup_bio_chain(progname)) { 178 progname); 184 BIO_printf(bio_err, "%s: -i given before -n", progname); 195 progname, arg); 206 progname, arg); 211 progname, id [all...] |
/freebsd-current/libexec/bootpd/ |
H A D | report.c | 26 extern char *progname; 40 openlog(progname, LOG_PID | LOG_NDELAY, LOG_BOOTP); 107 progname, levelnames[priority], buf);
|
/freebsd-current/tests/sys/cddl/zfs/bin/ |
H A D | randfree_file.c | 35 static void usage(char *progname); 38 usage(char *progname) argument 42 "[-n section-len] filename\n", progname);
|
/freebsd-current/contrib/ntp/sntp/tests/ |
H A D | run-networking.c | 51 char const *progname; variable 57 progname = argv[0];
|
H A D | run-t-log.c | 53 char const *progname; variable 59 progname = argv[0];
|
/freebsd-current/usr.sbin/ypserv/ |
H A D | yp_error.c | 49 extern char *progname; 56 fprintf(stderr,"%s: ",progname);
|
/freebsd-current/contrib/elftoolchain/libelftc/ |
H A D | make-toolchain-version | 17 progname=`basename ${0}` 26 echo "Usage: ${progname} [options]" 98 /* WARNING: Generated by "${progname}". */ 111 echo "@ ${progname}: building \"${versionfile}\"."
|