The basename of the program being executed
char * __progname
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. |