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

 


Fvneeded, Fvneeded32(3fml)

Name

Fvneeded(), Fvneeded32() - computes size needed for VIEW buffer

Synopsis

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

long
Fvneeded(char *subtype)

#include "fml32.h"

long
Fvneeded32(char *subtype)

Description

Fvneeded() returns the size of the VIEW C structure. subtype is the name of the VIEW. You can call Fvneeded() to determine the size of a VIEW buffer to allocate. Fvneeded32() is used with 32-bit VIEWs.

Return Values

Fvneeded() returns the size of the VIEW in number of bytes. This function returns -1 on error and sets Ferror to indicate the error condition.

Errors

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

[FEINVAL]

"invalid argument to function"
The requested VIEW cannot be found in the viewfiles specified by VIEWDIR and VIEWFILES environment variables.

See Also

Introduction to FML Functions, viewfile(5)

 

back to top previous page next page