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

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 view files specified by VIEWDIR and VIEWFILES environment variables.

See Also

Introduction to FML Functions, viewfile(5)