14cd01193SMark Murray #include "namespace.h" 2c45f3b47SRuslan Ermilov #include <stdlib.h> 34cd01193SMark Murray #include "un-namespace.h" 4c45f3b47SRuslan Ermilov 54cd01193SMark Murray #include "libc_private.h" 64cd01193SMark Murray 74cd01193SMark Murray __weak_reference(_getprogname, getprogname); 8cd18ccdcSDima Dorfman 9cd18ccdcSDima Dorfman const char * _getprogname(void)104cd01193SMark Murray_getprogname(void) 11cd18ccdcSDima Dorfman { 12cd18ccdcSDima Dorfman 13cd18ccdcSDima Dorfman return (__progname); 14cd18ccdcSDima Dorfman } 15