lrt_Finitialize32
| Buffer Manipulation Functions |
Initializes an existing FML buffer.
int lrt_Finitialize32( FBFR32 *fbfr );
| fbfr | A pointer to the FML or FML32 buffer. |
The lrt_Finitialize32 function initializes an existing FML Buffer - FML32 Buffer. An FML or FML32 buffer is a string in the form "name=<NAME>" or "id=<ID>".This replaces the use of Tuxedo functions Finit and Fsizeof.
Return Values
This function returns -1 on error and sets Ferror to indicate the error condition.
Parameterization
You cannot use standard parameterization for any arguments in this function.
Example
In the following example, the buffer is initialized before adding a new field. The example for lrt_Finitialize32 is identical except for the function name.
/* initialize the data_0 buffer*/
lrt_Finitialize((fbfr*)data_0);
lrt_Fadd_fld( (fbfr*)data_0, "id=8302", "value=1000", "len=4", LRT_END_OF_PARAMS);

