Fneeded
, Fneeded32
-compute size needed for buffer
#include <stdio.h>
#include "fml.h"
long
Fneeded(FLDOCC F, FLDLEN V)
#include "fml32.h"
long
Fneeded32(FLDOCC32 F, FLDLEN32 V)
Fneeded
() if used to determine the space that must be allocated for F fields and V bytes of value space.
Fneeded32
is used with 32-bit FML.
This function returns \-1 on error and sets Ferror
to indicate the error condition.
Under the following conditions, Fneeded
() fails and sets Ferror
to:
[FEINVAL]
Fintro
(3), Falloc
(3), Finit
(3), Fielded
(3), Fsizeof
(3), Funused
(3), Fused
(3)