PURPOSE

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 Ferror 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(3c) or F_error(3fml).

Fstrerror32 is used with 32-bit FML.

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 Ferror.

SEE ALSO

Fintro(3fml),
tpstrerror(3c),
tperrordetail(3c),
tpstrerrordetail(3c),
F_error(3fml),
userlog(3c)