BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   FML Function Reference   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Fsizeof, Fsizeof32(3fml)

Name

Fsizeof(), Fsizeof32() - return size of fielded buffer

Synopsis

#include <stdio.h> 
#include "fml.h"

long
Fsizeof(FBFR *fbfr)

#include "fml32.h"

long
Fsizeof32(FBFR32 *fbfr)

Description

Fsizeof() returns the size of a fielded buffer in bytes. fbfr is a pointer to a fielded buffer.

Fsizeof32() is used with 32-bit FML.

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

Return Values

This function returns -1 on error and sets Ferror to indicate the error condition.

Errors

Under the following conditions, Fsizeof() fails and sets Ferror to:

[FALIGNERR]

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

[FNOTFLD]

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

See Also

Introduction to FML Functions, Fidxused, Fidxused32(3fml), Fused, Fused32(3fml), Funused, Funused32(3fml)

 

back to top previous page next page