Fused
, Fused32
-return number of used bytes in fielded buffer
#include <stdio.h>
#include "fml.h"
long
Fused(FBFR *fbfr)
#include "fml32.h"
long
Fused32(FBFR32 *fbfr)
Fused
() returns the amount of used space in a fielded buffer in bytes, including both user data and the header (but not the index, which can be dropped at any time). fbfr is a pointer to a fielded buffer.
Fused32
is used with 32-bit FML.
This function returns \-1 on error and sets Ferror
to indicate the error condition.
Under the following conditions, Fused
() fails and sets Ferror
to:
[FALIGNERR]
[FNOTFLD]
Finit
().
Fintro
(3), Fidxused
(3), Funused
(3)