Fstrerror, Fstrerror32 - get error message string for FML error
#include <fml.h> char * Fstrerror(int err) #include <fml32.h> char * Fstrerror32(int err)
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.
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.
Fstrerror() returns a NULL on error, but does not set Ferror.
Fintro(3fml),
tpstrerror(3c),
tperrordetail(3c),
tpstrerrordetail(3c),
F_error(3fml),
userlog(3c)