![]() |
![]() |
|
|
Fused, Fused32(3fml)
Name
Fused(), Fused32() - return number of used bytes in fielded buffer
Synopsis
#include <stdio.h>
#include "fml.h"
long
Fused(FBFR *fbfr)
#include "fml32.h"
long
Fused32(FBFR32 *fbfr)
Description
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.
A thread in a multithreaded application may issue a call to Fused() or Fused32() 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, Fused() fails and sets Ferror to:
The buffer does not begin on the proper boundary.
The buffer is not a fielded buffer or has not been initialized by Finit().
See Also
Introduction to FML Functions, Fidxused, Fidxused32(3fml), Funused, Funused32(3fml)
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|