AIDA_iGetError

The AIDA_iGetError function returns the last error code.

int AIDA_iGetError(
  void
);

Parameters

none

Return Values

AIDA_iGetError returns the last error code. This may be an AIDA specific error code as well as an error code of the system/runtime library. Since AIDA functions do not clear the error code the application should clear the error code immediately before a call to an AIDA function using AIDA_vSetError.

Remarks

Error codes are saved on a per-thread basis.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Linux: Requires a kernel supporting ELF binaries.
  Header: Declared in bsk_aida.h, also requires portab.h.
  Import Library (Windows): Use BSK_AIDA.lib.

See Also

AIDA Overview, AIDA Functions, AIDA_vSetError, AIDA_hsGetErrMsg, AIDA_hsGetPlainErrMsg