Home
last modified time | relevance | path

Searched refs:g_cmdname (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/tnf/tnfdump/
H A Dmain.c45 static char *g_cmdname; /* name of this command */ variable
76 g_cmdname = av[0]; in main()
139 g_cmdname, path); in read_tnf_file()
145 g_cmdname, path); in read_tnf_file()
152 g_cmdname, path); in read_tnf_file()
160 g_cmdname, path); in read_tnf_file()
181 g_cmdname, path); in read_tnf_file()
190 g_cmdname, path, tnf_error_message(err)); in read_tnf_file()
390 (void) fprintf(stderr, gettext("%s: "), g_cmdname); in fail()
404 g_cmdname); in usage()
/titanic_41/usr/src/cmd/tnf/prex/
H A Dmain.c87 static char *g_cmdname; /* target command name */ variable
224 err = tnfctl_exec_open(g_cmdname, g_cmdargs, NULL, in main()
578 g_cmdname = NULL; in scanargs()
616 g_cmdname = strdup(argv[optind]); in scanargs()
620 if (!g_kernelmode && (g_cmdname == NULL && g_targetpid == 0)) in scanargs()
622 if (g_cmdname != NULL && g_targetpid != 0) in scanargs()
629 if (g_cmdname) in scanargs()
658 g_cmdname = strdup(argv[i]); in scanargs()
659 if (!g_cmdname) { in scanargs()
665 "cmdname=%s\n", g_cmdname); in scanargs()
[all …]