]>
Commit | Line | Data |
---|---|---|
9385eb3d A |
1 | #include <sys/cdefs.h> |
2 | __FBSDID("$FreeBSD: src/lib/libc/gen/getprogname.c,v 1.4 2002/03/29 22:43:41 markm Exp $"); | |
3 | ||
4 | #include "namespace.h" | |
5 | #include <stdlib.h> | |
6 | #include "un-namespace.h" | |
7 | ||
8 | #include "libc_private.h" | |
9 | ||
10 | __weak_reference(_getprogname, getprogname); | |
11 | ||
12 | const char * | |
13 | _getprogname(void) | |
14 | { | |
15 | ||
16 | return (__progname); | |
17 | } |