The application’s program name, as it appears on the command-line, may be
accessed from Clon
. You may find it easier to do this way, as Clon
wraps around implementation-dependent access methods to argv[0]
.
In order to retrieve argv[0]
, use the progname
function
like this: (progname)
. In fact, it is possible to modify
Clon
’s notion of the program name, for example in cases where
argv[0]
is not very informative (see Delivering Scripts).