HP 9000 User Manual page 111

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

7
Note
We recommend that you use the program name as the name
argument supplied to catopen. This provides a generic
descriptor of the message catalog to open. At run time your
program selects the particular message catalog supporting the
user's language according to the current setting of LANG and the
path(s) specified by environmental variable NLSPATH.
Recommended Initialization
Use setlocale and catopen to initialize your program. For most applications,
the following initialization is recommended:
#include <nl_types.h>
if (
!
setlocale(LC_ALL,
1111) ) {
else
fputs("setlocale failed,
continuing with \"C\II locale.", stderr);
putenv(IILC_ALL=");
catd = (nl_catd)-l;
}
catd = catopen (" name", 0);
7 -4 The Message Catalog System

Advertisement

Table of Contents
loading

Table of Contents