2001-05-15 23:41:01 +00:00
|
|
|
#if defined(LIBC_RCS) && !defined(lint)
|
|
|
|
static const char rcsid[] =
|
|
|
|
"$FreeBSD$";
|
|
|
|
#endif /* LIBC_RCS and not lint */
|
|
|
|
|
2001-08-21 17:28:39 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
2001-05-15 23:41:01 +00:00
|
|
|
extern const char *__progname;
|
|
|
|
|
|
|
|
const char *
|
|
|
|
getprogname(void)
|
|
|
|
{
|
|
|
|
|
|
|
|
return (__progname);
|
|
|
|
}
|