Get Error Contents

By using function AioGetErrorString, it is possible to convert error code to a character string for all functions.

The character string used by function AioGetErrorString is 256 bytes at most.

Programming Example in C

long Ret;
long ErrorRet;
short Id;
char ErrorString[256];

Ret = AioInit( "Aio000" , &Id );
ErrorRet = AioGetErrorString( Ret , ErrorString );
printf("AioInit :%s", ErrorString );

Ret = AioExit( Id );
ErrorRet = AioGetErrorString( Ret , ErrorString );
printf("AioExit :%s", ErrorString );