freebsd-dev/lib/libc/gen/getprogname.c
2001-08-21 17:28:39 +00:00

16 lines
230 B
C

#if defined(LIBC_RCS) && !defined(lint)
static const char rcsid[] =
"$FreeBSD$";
#endif /* LIBC_RCS and not lint */
#include <stdlib.h>
extern const char *__progname;
const char *
getprogname(void)
{
return (__progname);
}