__progname
The basename of the program being executed
Synopsis:
char * __progname
Description:
This global variable holds the basename of the program being executed.
This variable isn't defined in any header file.
If you want to refer to it, you need to add your own extern
statement.