void pmSetProgname(const char *
The default application name is pcp .
pmSetProgname may be used to set the application name to program after stripping any leading components that begin with the filesystem path name separator (``/'' for Unix-like systems).
It is the callers responsibility to ensure the memory pointed to by program remains available for the life of the application. Typically, the value passed as program for a C program would be argv . If program is NULL , the default application name is restored.