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

diag_close_class

Purpose

Closes an object class.

Syntax

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

int diag_close_class ( 
                                 void              *classp)

Description

The diag_close_class subroutine can be called to close an object class.

Parameters

classp A class symbol identifier returned from a diag_open_class subroutine. If the diag_open_class subroutine has not been called, then this is 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 value of 0 is returned. If the subroutine fails, a -1 is returned.


[ Previous | Next | Contents | Home | Search ]