PEXGetSizeOCs(3) — Subroutines
Name
PEXGetSizeOCs - Return the Protocol Formatted Size of Output Commands
Synopsis
int PEXGetSizeOCs(int float_format, int oc_count, PEXOCData ∗oc_data)
Arguments
float_formatThe floating point format to use in computing the formatted size.
oc_countThe number of output commands.
oc_dataAn array of output command data.
Returns
The size, in bytes, of the formatted output commands; zero if unsuccessful.
Description
This function returns information about the size of the protocol for the output commands. An unsuccessful return value is possible if the specified floating point format is invalid or unsupported by PEXlib.
Data Structures
See PEXlib.h for the definition of PEXOCData.
Errors
None