]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - lib/libc/gen/getprogname.c
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / lib / libc / gen / getprogname.c
1 #include <sys/cdefs.h>
2 __FBSDID("$FreeBSD$");
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 }