BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   FML Function Reference   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Ftype, Ftype32(3fml)

Name

Ftype(), Ftype32() - return pointer to type of field

Synopsis

#include <stdio.h> 
#include "fml.h"

char *
Ftype(FLDID fieldid)

#include "fml32.h"

char *
Ftype32(FLDID32 fieldid)

Description

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.

Errors

Under the following conditions, Ftype() fails and sets Ferror to:

[FTYPERR]

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

See Also

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

 

back to top previous page next page