mpiSequenceCommandCount
Declaration
int32_t mpiSequenceCommandCount(MPISequence sequence)
Required Header: stdmpi.h
Description
mpiSequenceCommandCount returns the number of elements on the list.
NOTE: The maximum number of sequence commands that can exist on a controller, from all sequence objects, at one time is defined by MPIXmpCmdBuffSize in xmp.h.
| sequence | a handle to the Sequence object. | 
|---|
| Return Values | |
|---|---|
number of Commands  | 
                in a Sequence (sequence) | 
-1  | 
                if sequence is invalid | 
0  | 
                if sequence is empty | 
