#include <cat/cat.h>
void caterr_setprogname(const char *argv0);
Parameter argv0 is the string name of the program. If the name is supplied as a complete directory path, the path will be removed with only the name of the executable kept.
In Windows NT, if the string ends with the ``.exe'' suffix, this will be removed.
caterr_setprogname("/tmp/agents/orbital");
will set the program name to "orbital"
.