Frealloc, Frealloc32 - re-allocate fielded buffer
#include <stdio.h> #include "fml.h" FBFR * Frealloc(FBFR *fbfr, FLDOCC nf, FLDLEN nv) #include "fml32.h" FBFR32 * Frealloc32(FBFR32 *fbfr, FLDOCC32 nf, FLDLEN32 nv)
Frealloc() can be used to re-allocate space to enlarge a fielded buffer. fbfr is a pointer to a fielded buffer. The second and third parameters are the new number of fields, nf, and the new number of bytes value space, nv. These are not increments.
Frealloc32 is used with 32-bit FML.
On success, Frealloc returns a pointer to the re-allocated FBFR.
This function returns NULL on error and sets Ferror to indicate the error condition.
Under the following conditions, Frealloc() fails and sets Ferror to: