Fconcat, Fconcat32 - concatenate source to destination buffer
#include <stdio.h> #include "fml.h" int Fconcat(FBFR *dest, FBFR *src) #include "fml32.h" int Fconcat32(FBFR32 *dest, FBFR32 *src)
Fconcat() adds fields from the source buffer to the fields that already exist in the destination buffer. dest and src are pointers to the destination and source fielded buffers, respectively. Occurrences in the destination buffer, if any, are maintained and new occurrences from the source buffer are added with greater occurrence numbers for the field.
Fconcat32 is used with 32-bit FML.
This function returns -1 on error and sets Ferror to indicate the error condition.
Under the following conditions, Fconcat() fails and sets Ferror to: