Program Interface Library AR_GET_ERROR
CEI-100/CEI-200/CEI-x20 User’s Manual 85
AR_GET_ERROR
CEI_CHAR * ar_get_error (CEI_INT16 status);
Many of the ARINC functions return status values, which may indicate an
error condition. This function, when passed such an error value, returns a
pointer to a message string describing the error.
Look at the file UTILDEFS.H for the current list of possible error codes
and explanations.
For the CEI-x20, you can call this function with a status value of
ARS_LAST_ERROR to return extended error information if any is
available. There is only one extended error buffer per process, so you
should retrieve this information immediately after an error has occurred to
prevent its contents from being over written. Not all errors generate
extended error information. If no extended error information is available,
ARS_LAST_ERROR returns the extended error information from the
previous error that generated extended error information.
A pointer to the error message character string. In 16-bit DOS, this is a
FAR pointer (assumes large model).
status (input) status value returned by any of the ARINC
utilities.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com