Syntax | #include <nl_types.h> char *catgets(nl_catd catd, int set_id, int msg_id, const char *s); | |
Description | catgets() attempts to read message msg_id, in set set_id, from the message catalogidentified by catd. catd is a message catalog descriptor returned from an earlier call to The s argument points to a default message string which will be returned by | |
Return val. | Pointer to an internal buffer area containing the message which ends in X‘00‘ | |
if successful. | ||
s | if unsuccessful. | |
Errors |
| |
| The message catalog descriptor is not valid for reading. The read operation is interrupted by a signal, and no data is transferred. | |
See also |
|