nl_types(FP)
nl_types --
data types for native language support
Syntax
#include <nl_types.h>
Description
This is a header file that provides type definitions used in the
native language support interface. The types are:
nl_item
-
A type definition for an item of language data as used by
nl_langinfo(S).
The values for
nl_item
are defined in the file
<langinfo.h>.
nl_catd
-
Message catalogue descriptor.
It is used by message catalog routines
catopen(S),
catgets(S),
and
catclose(S).
This header file also defines the following constants:
NL_SETD-
The utility command
gencat(CP)
uses this constant when a message text source file
does not specify any $set directive.
On subsequent calls to
catgets( ),
this constant can be passed as the set_id
argument to
catgets( )
to read messages from the default message set.
NL_CAT_LOCALE-
The value of this constant must be passed to
catopen(S)
as the oflag argument if the language
of your application's message catalog depends on
LC_MESSAGES locale category, not directly on
the LANG environment variable.
See also
catgets(S),
catopen(S),
gencat(CP),
langinfo(FP),
nl_langinfo(S)
Standards conformance
nl_types is conformant with:
X/Open CAE Specification, System Interfaces and Headers, Issue 4, Version 2.
© 2003 File Formats for Programming (FP)
SCO OpenServer Release 5.0.7 -- 11 February 2003