Fidxused, Fidxused32 - return amount of space used
#include <stdio.h> #include "fml.h" long Fidxused(FBFR *fbfr) #include "fml32.h" long Fidxused32(FBFR32 *fbfr)
Fidxused(\|) indicates the current amount of space used by the buffer's index. fbfr is a pointer to a fielded buffer.
Fidxused32 is used with 32-bit FML.
On success, the function returns the amount of space in the buffer used by the index. This function returns \-1 on error and sets Ferror to indicate the error condition.
Under the following conditions, Fidxused() fails and sets Ferror to:
Fintro(3fml),
Findex(3fml),
Frstrindex(3fml),
Funused(3fml),
Fused(3fml)