ARGetTextForErrorMessage
Description
Retrieves the message text for the specified error from the local catalog (in the local language). The length of the text is limited by AR_MAX_MESSAGE_SIZE (255 bytes).
Privileges
All users.
Synopsis
#include "ar.h"
#include "arerrno.h"
#include "arextern.h"
int ARGetTextForErrorMessage(
char *ARGetTextForErrorMessage (
int msgId)
#include "arerrno.h"
#include "arextern.h"
int ARGetTextForErrorMessage(
char *ARGetTextForErrorMessage (
int msgId)
Input arguments
msgId
The error number whose message text you want to retrieve. This number is provided in the messageNum member of ARStatusStruct.
Return values
return
The function return value is a pointer to the retrieved message text. You must free this memory after calling this function.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*