1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/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);
}