[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Understanding the Diagnostic Subsystem for AIX

diag_open_class

Purpose

Opens an object class.

Syntax

#include      <diag/diagodm.h>
#include      <sys/cfgodm.h>
#include      <diag/DiagODM.h>

void *diag_open_class (         
                                void        *classp)

Description

The diag_open_class subroutine can be called to open an object class.

Parameters

classp The structure name of the class normally defined in either the diag/diagodm.h file, diag/DiagODM.h file, or sys/cfgodm.h file.

Return Value

Upon successful completion, a class symbol identifier for the object class is returned. If the subroutine fails, a -1 is returned.


[ Previous | Next | Contents | Home | Search ]