Returns a pointer to the next SpmiStatVals structure in a set of statistics.
SPMI Library (libSpmi.a)
#include sys/Spmidef.h
struct SpmiStatVals *SpmiNextVals(StatSet, StatVal)
struct SpmiStatSet *StatSet;
struct SpmiStatVals *StatVal;
The SpmiNextVals subroutine returns a pointer to the next SpmiStatVals structure in a set of statistics, taking the structure identified by the StatVal parameter as the current structure. The SpmiStatVals structures are accessed in reverse order so the statistic added before the current one is returned. This subroutine call should only be issued after an SpmiGetStatSet subroutine has been issued against the statset.
Specifies a pointer to a valid structure of type SpmiStatSet as created by the SpmiCreateStatSet Subroutine call.
Specifies a pointer to a valid structure of type SpmiStatVals as created by the SpmiPathAddSetStat Subroutine subroutine call or returned by a previous SpmiFirstVals Subroutine or SpmiNextVals subroutine call.
The SpmiNextVals subroutine returns a pointer to a SpmiStatVals structure if successful. If unsuccessful, the subroutine returns a NULL value.