2002-02-01 00:57:29 +00:00
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__FBSDID("$FreeBSD$");
|
2001-05-15 23:41:01 +00:00
|
|
|
|
2002-03-29 22:43:43 +00:00
|
|
|
#include "namespace.h"
|
2001-08-21 17:28:39 +00:00
|
|
|
#include <stdlib.h>
|
2002-03-29 22:43:43 +00:00
|
|
|
#include "un-namespace.h"
|
2001-08-21 17:28:39 +00:00
|
|
|
|
2002-03-29 22:43:43 +00:00
|
|
|
#include "libc_private.h"
|
|
|
|
|
|
|
|
__weak_reference(_getprogname, getprogname);
|
2001-05-15 23:41:01 +00:00
|
|
|
|
|
|
|
const char *
|
2002-03-29 22:43:43 +00:00
|
|
|
_getprogname(void)
|
2001-05-15 23:41:01 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
return (__progname);
|
|
|
|
}
|