ufmFreeCharMetrics(3w) ufmFreeCharMetrics(3w)
ufmFreeCharMetrics - free character metrics
#include <ufm.h>
int ufmFreeCharMetrics(unsigned int nCharMetrics,
ufmCharMetrics *charMetrics)
ufmFreeCharMetrics frees the memory ufmGetCharMetrics allocated for one
or more data structures of the type ufmCharMetrics.
When ufmGetCharMetrics allocates an array of one or more data structures
of the type ufmCharMetrics, it returns the number of allocated data
structures (nCharMetrics) and the address of that array (charMetrics).
When you are finished with that array, you can free it by calling
ufmFreeCharMetrics with the argument values that were returned by
ufmGetCharMetrics.
ufmGetCharMetrics(3w).
If you specify a value less than 1 for nCharMetrics or a NULL pointer for
charMetrics, ufmFreeCharMetrics will return the value UFM_INVALID_VALUE.
Else, it will return the value UFM_NO_ERROR. UFM_INVALID_VALUE and
UFM_NO_ERROR are defined in the header file <ufm.h>.
PPPPaaaaggggeeee 1111 [ Back ]
|