cd18ccdc30
and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD
14 lines
209 B
C
14 lines
209 B
C
#if defined(LIBC_RCS) && !defined(lint)
|
|
static const char rcsid[] =
|
|
"$FreeBSD$";
|
|
#endif /* LIBC_RCS and not lint */
|
|
|
|
extern const char *__progname;
|
|
|
|
const char *
|
|
getprogname(void)
|
|
{
|
|
|
|
return (__progname);
|
|
}
|