1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#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); }