int getList (list_name)
char *list_name;
int printUsage (n)
int n;
unsigned char *getError (n)
int n;
getList looks first in the $RDBMSGS directory for list_name; if $RDBMSGS is not a full pathname, then $RDB/lib/messages/ is prepended to $RDBMSGS; if $RDB is not defined, getList looks in the /usr/rdb/lib/messages directory for list_name.
list_name may be one of four message files: usage_messages, rdb_messages, update_messages or ve_messages.
printUsage returns the nth usage message from the usage message array currently in memory, on the standard error. This array is read in from the ascii file usage_messages by the getList function.
getError returns the nth error message from the error message array currently in memory. This array is read in from the ascii file rdb_messages by the getList function. The message string may contain printf() style variables, which further define the error, and additional strings or numbers should be provided by the caller to print the error message string.
If the n argument exceeds the number of usage messages in the array, printUsage returns zero; otherwise, it returns 1.
If the n argument exceeds the number of messages in the array, getError returns a pointer to the zeroth message.