![]() |
![]() |
|
|
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:
The requested VIEW cannot be found in the viewfiles specified by VIEWDIR and VIEWFILES environment variables.
See Also
Introduction to FML Functions, viewfile(5)
![]() |
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|