Guardian Procedure Calls Reference Manual

BINSEM_STAT_VERSION_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Returned Value
Considerations
Example
Related Programming Manuals
Summary
The BINSEM_STAT_VERSION_ procedure accepts a version number defined in kbinsem.h for the
BINSEM_GETSTATS_ procedure and checks whether or not it matches the implementation version
of BINSEM_GETSTATS_.
NOTE: The BINSEM_STATS_VERSION_ procedure is supported on systems running H06.25 and
later H-series RVUs and J06.14 and later J-series RVUs.
Syntax for C Programmers
#include <kbinsem.h>
uint32 BINSEM_STAT_VERSION_ ( int32 version );
Syntax for TAL Programmers
ret-val := BINSEM_STAT_VERSION_ ( version ); ! i
Parameter
version
input
INT (32):value
specifies a version for the BINSEM_GETSTATS_ procedure.
Returned Value
INT (32)
Outcome of the call:
Returned if the implemented version of the BINSEM_GETSTATS_ procedure matches the version passed
to BINSEM_STAT_VERSION_. The routine returns the length (in bytes) of the binSemStats_t data structure
that is implemented.
Value > 0
Error – version mismatch. When this routine is executed on a system with a different BINSEM_GETSTATS_
version from the one used when the program was compiled, there is a version mismatch and
BINSEM_STAT_VERSION_ returns 0.
0
BINSEM_STAT_VERSION_ Procedure 103