textdomain
Name
textdomain -- set the current default message catalog
Synopsis
extern char
*textdomain
(const char
*domainname);
Description
textdomain sets the current default message
catalog to domainname, which remains valid
across subsequent calls to setlocale, and
gettext.
Return
On success, textdomain returns the currently
selected domain. On error, a NULL pointer is returned.
If domainname is NULL,
textdomain returns the current default.
If domainname is "", reset to the default of
"messages".
Errors
- ENOMEM
The function may have failed if there was "insufficent memory available."