Status PEXFetchElements(
Display *display,
PEXStructure structure,
int whence1,
long offset1,
int whence2,
long offset2,
int float_format,
unsigned long *count_return,
unsigned long *length_return,
char **ocs_return
)
Zero if unsuccessful; non-zero otherwise.
Invoke PEXFetchElements to get a range of structure elements from the specified structure.
If either computed offset is less than zero, then it is set to zero before getting the structure elements. If either computed offset is greater than the number of elements in the structure, then it is set to the offset of the last element in the structure. The element pointer attribute of structure is not affected by this command. No information is returned for inquiries on element offset zero.
A null pointer is returned if the implementation does not support the requested floating-point format.
Any text or annotation text output commands returned are formatted as encoded text or encoded annotation text.
PEXlib allocates memory for the return value. Invoke XFree to deallocate the memory.
For a list of all Structure functions and related topics, see Structures.