Home
last modified time | relevance | path

Searched refs:argv0 (Results 1 – 25 of 107) sorted by relevance

12345

/titanic_41/usr/src/cmd/unpack/
H A Dunpack.c50 static char *argv0, *argvk; variable
112 "%s: %s: read error: "), argv0, filename); in getdict()
134 "%s: %s: not in packed format\n"), argv0, filename); in getdict()
185 argv0, filename); in decode()
193 argv0, filename); in decode()
212 argv0, argvk); in decode()
289 argv0 = argv[0]; in main()
310 gettext("usage: %s [-/] file...\n"), argv0); in main()
313 argv0); in main()
352 argv0, filename); in main()
[all …]
/titanic_41/usr/src/lib/libc/port/gen/
H A Derr.c53 setprogname(const char *argv0) in setprogname() argument
58 if ((progname = strrchr(argv0, '/')) == NULL) in setprogname()
59 progname = argv0; in setprogname()
74 const char *argv0; in init_progname() local
78 (argv0 = args.dla_argv[0]) == NULL) in init_progname()
79 argv0 = "UNKNOWN"; in init_progname()
81 setprogname(argv0); in init_progname()
H A Dgetopt_long.c131 warnx_getopt(const char *argv0, const char *msg, const char *arg) { in warnx_getopt() argument
133 (void) snprintf(errbuf, sizeof (errbuf), msg, argv0, arg); in warnx_getopt()
142 warnxchar(const char *argv0, const char *msg, const char c) { in warnxchar() argument
146 warnx_getopt(argv0, msg, charbuf); in warnxchar()
153 warnxlen(const char *argv0, const char *msg, int argLen, const char *arg) { in warnxlen() argument
157 warnx_getopt(argv0, msg, argbuf); in warnxlen()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-misc.c31 char *get_progname(char *argv0) in get_progname() argument
40 if (argv0 == NULL) in get_progname()
42 p = strrchr(argv0, '/'); in get_progname()
44 p = argv0; in get_progname()
/titanic_41/usr/src/tools/cscope-fast/
H A Dalloc.c39 extern char *argv0; /* command name (must be set in main function) */
85 (void) fprintf(stderr, "\n%s: out of storage\n", argv0); in alloctest()
H A Dvpinit.c45 char *argv0 = "libvp"; /* command name default for messages */ variable
73 "%s: cannot get current directory name\n", argv0); in vpinit()
H A Dinvlib.c62 extern char *argv0; /* command name (must be set in main function) */
629 (void) fprintf(stderr, "%s: empty inverted file\n", argv0); in invopen()
636 "force database to rebuild\n", argv0); in invopen()
644 (void) fprintf(stderr, "%s: inverted file is locked\n", argv0); in invopen()
693 "%s: shared memory link failed\n", argv0); in invopen()
1206 (void) fprintf(stderr, "%s: cannot allocate %u bytes\n", argv0, n); in invcannotalloc()
1212 (void) fprintf(stderr, "%s: cannot open file %s\n", argv0, file); in invcannotopen()
1218 (void) perror(argv0); /* must be first to preserve errno */ in invcannotwrite()
1219 (void) fprintf(stderr, "%s: write to file %s failed\n", argv0, file); in invcannotwrite()
H A Dmain.c148 argv0 = basename(argv[0]); in main()
643 "%s: version %d%s\n", argv0, in options()
707 "value\n", argv0, c); in options()
742 "value\n", argv0); in options()
761 argv0); in options()
778 "%s: unknown option: -%c\n", argv0, *s); in options()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dlog.c54 static char *argv0; variable
293 argv0 = av0; in log_init()
441 openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility); in do_log()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c208 char *cmd, *cp, **ap, buf[RSH_BUFSIZ], **argv0, *args, *args_no_x; in main() local
225 if ((argv0 = malloc(c)) == NULL) { in main()
229 (void) memcpy(argv0, argv, c); in main()
395 *argv0 = "rlogin"; in main()
396 (void) execv(rlogin_path, argv0); in main()
/titanic_41/usr/src/cmd/vi/port/
H A Dex_cmds2.c179 argv = argv0; in erewind()
350 argv0 = frob.argv; in makargs()
351 args0 = argv0[0]; in makargs()
H A Dex_argv.h36 var unsigned char **argv0; variable
/titanic_41/usr/src/lib/libsqlite/test/
H A Dtester.tcl25 puts stderr "$argv0 was linked against an older version"
36 puts stderr "$argv0 was linked against an newer version"
H A Dcrashme2.off5 set testdir [file dirname $argv0]
H A Djoin3_28.test21 set testdir [file dirname $argv0]
H A Dfkey1.test19 set testdir [file dirname $argv0]
H A Dquick.test18 set testdir [file dirname $argv0]
H A Dhook.test23 set testdir [file dirname $argv0]
H A Djoin2.test20 set testdir [file dirname $argv0]
H A Dbind.test20 set testdir [file dirname $argv0]
H A Dquote.test20 set testdir [file dirname $argv0]
H A Dmemleak.test18 set testdir [file dirname $argv0]
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dmain.c367 match_prepare(char *argv0, uint_t flags) in match_prepare() argument
381 basename(argv0)); in match_prepare()
418 (void) fprintf(stderr, fmt, basename(argv0), str); in match_prepare()
518 add_match_record(char *argv0, match_rec_t *data) in add_match_record() argument
526 basename(argv0), strerror(err)); in add_match_record()
/titanic_41/usr/src/cmd/ssh/include/
H A Dbsd-misc.h39 char *get_progname(char *argv0);
/titanic_41/usr/src/lib/libsqlite/tool/
H A Dspace_used.tcl12 puts stderr "Usage: $argv0 database-name"

12345