Ftype, Ftype32 - return pointer to type of field
#include <stdio.h> #include "fml.h" char * Ftype(FLDID fieldid) #include "fml32.h" char * Ftype32(FLDID32 fieldid)
Ftype() returns a pointer to a string containing the name of the type of a field, given a field identifier, fieldid. For example, if the FLDID of a field of type short is supplied to Ftype(), a pointer is returned to the string 'short'. This data area is `read-only.'
Ftype32 is used with 32-bit FML.
On success, Ftype() returns a pointer to a character string that identifies the field type.
This function returns NULL on error and sets Ferror to indicate the error condition.
Under the following conditions, Ftype() fails and sets Ferror to: