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

diag_free_list

Purpose

Frees memory previously allocated for a diag_get_list subroutine.

Syntax

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

int diag_free_list (
                                 void             *p_obj,
                                 struct listinfo  *info)
                                 

Description

The diag_free_list subroutine recursively frees up a tree of memory object lists that were allocated for a diag_get_list subroutine.

Parameters

p_obj Points to the array of structures returned from the diag_get_list subroutine.
info Points to the listinfo structure returned from the diag_get_list subroutine.

Return Value

Upon successful completion, a value of 0 is returned. If the subroutine fails, a -1 is returned.


[ Previous | Next | Contents | Home | Search ]