freebsd-dev/lib/libc/gen/getprogname.c

18 lines
249 B
C
Raw Normal View History

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