dce_svc_set_progname(3dce)Sets an application's program name Synopsis #include <dce/dce.h> void dce_svc_set_progname(
char *program_name, Parameters Input
program_name Output
status
Description If dce_svc_set_progname( ) is not called, the application's generated serviceability messages will be identified by its process ID.
Examples dce_svc_set_progname("demo_program", &status); Serviceability messages generated by the program will as a result look like the following:
1994-04-05-20:13:34.500+00:00I----- demo_program NOTICE app main.c 123 0xa444e208 If the application does not set its program name, its generated serviceability messages will have the following form:
1994-04-05-20:13:34.500+00:00I----- PID#9467 NOTICE app main.c 123 0xa444e208 Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
Related Information
|