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

Fstrerror, Fstrerror32(3fml)

Name

Fstrerror(), Fstrerror32() - get error message string for FML error

Synopsis

#include <fml.h> 

char *
Fstrerror(int err)

#include <fml32.h>

char *
Fstrerror32(int err)

Description

Fstrerror() is used to retrieve the text of an error message from LIBFML_CAT. err is the error code set in F_error when a FML function call returns a -1 or other failure value.

The user can use the pointer returned by Fstrerror() as an argument to userlog() or F_error.

Fstrerror32() is used with 32-bit FML.

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

Return Values

If err is an invalid error code, Fstrerror() returns a NULL. On success, the function returns a pointer to a string that contains the error message text.

Errors

Fstrerror() returns a NULL on error, but does not set F_error.

See Also

Introduction to FML Functions, tpstrerror(3c), userlog(3c), F_error, F_error32(3fml)