Reads a program message.
#include <nl_types.h>
char *catgets (
nl_catd catd,
int set_id,
int msg_id,
const char *string);
(IN) Specifies the message catalog, which is returned from catopen.
(IN) Specifies the set number where the message is located. This parameter must be set to NL_SETD (1).
(IN) Specifies the numeric identifier for the message.
(IN) Points to a default message string.
If successful, returns a pointer to the message string. Otherwise, returns a pointer to the string parameter and sets errno to the following:
The string parameter points to a default message that can be used if catgets cannot retrieve the requested message.