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