gtpc2m56 | C/C++ Language Support User's Guide |
This function returns the number of blocks currently available for a specified physical block type.
Format
#include <sysapi.h> int numbc(enum p_blktype block_type);
Normal Return
Integer value representing the number of available storage blocks for this block type.
Error Return
Not applicable.
Programming Considerations
Authorization to issue a restricted macro is required.
Examples
The following example obtains the number of available IOB blocks.
#include <sysapi.h> int iobs;
·
·
·
iobs = numbc(LIOCB);
Related Information