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

Ftype, Ftype32(3fml)


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.

A thread in a multithreaded application may issue a call to Ftype() or Ftype32() while running in any context state, including TPINVALIDCONTEXT.

Return Values

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:


"invalid field type"
A field identifier is specified which is not valid.

See Also

Introduction to FML Functions, Fldid, Fldid32(3fml), Fldno, Fldno32(3fml)