From: utzoo!decvax!harpo!duke!trt
Newsgroups: net.unix-wizards,net.news.b
Title: Re: watmath.3082: Identify program error messages, please!
Article-I.D.: duke.2349
Posted: Sun Jul 25 19:16:29 1982
Received: Wed Jul 28 05:59:52 1982


It would be helpful if the C runtime startoff routine
provided a global variable which identified the program's name.
For example,
	extern char *cmdname;
cmdname would point to the last component of argv[0],
so a program as "/usr/bin/news" would have cmdname "news".