BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy


   Tuxedo Doc Home   |   Reference   |   Topic List   |   Previous   |   Next   |   Contents

   BEA Tuxedo FML Function Reference

Fidxused, Fidxused32(3fml)


Fidxused(), Fidxused32() - return amount of space used


#include <stdio.h> 
#include "fml.h"
Fidxused(FBFR *fbfr)
#include "fml32.h"
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.

A thread in a multithreaded application may issue a call to Fidxused() or Fidxused32() while running in any context state, including TPINVALIDCONTEXT.

Return Values

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:


"fielded buffer not aligned"
The buffer does not begin on the proper boundary.


"buffer not fielded"
The buffer is not a fielded buffer or has not been initialized by Finit().

See Also

Introduction to FML Functions, Findex, Findex32(3fml), Frstrindex, Frstrindex32(3fml), Funused, Funused32(3fml), Fused, Fused32(3fml)