The basename of the program being executed
char * __progname
BlackBerry 10.0.0
This global variable holds the basename of the program being executed.
QNX Neutrino