KADMOS_ERROR KADMOS_API re_GetErrorText_bas(re_ErrorText_bas *errtext);
errtext
re_ErrorText_bas
. ident
, program
,
text
, systext
, and private_data
of the first KADMOS error or warning
(in case of no errors) will be filled into the re_ErrorText_bas
structure. RE_SUCCESS or KADMOS error type. of the last error.
This function fills in the data structure of re_ErrorText_bas
. The return value of this function is the
value of ident. If ident
is RE_WARNING
or RE_INFO
, then the value RE_SUCCESS
is returned. If only the return value is of interest, the function can be called with a NULL
pointer.