Fsizeof, Fsizeof32 - return size of fielded buffer
#include <stdio.h> #include "fml.h" long Fsizeof(FBFR *fbfr) #include "fml32.h" long Fsizeof32(FBFR32 *fbfr)
Fsizeof() returns the size of a fielded buffer in bytes. fbfr is a pointer to a fielded buffer.
Fsizeof32 is used with 32-bit FML.
This function returns -1 on error and sets Ferror to indicate the error condition.
Under the following conditions, Fsizeof() fails and sets Ferror to: