background image
Functional specification
59
CDE/Motif PST
CDEnext
If both
hinter_desc
and the results of
hinter_proc
are non-
NULL
, but the keyword
%locale%
is
not found in
hinter_desc
, then
hinter_desc
, as is, becomes the string used as the locale hint by the
Xp calls.
If one of
hinter_desc
or the results of
hinter_proc
is NULL, then the other non-NULL value
becomes the string used as the locale hint by the Xp calls.
If
hinter_desc
and the results of
hinter_proc
are NULL, then a
NULL
(i.e.
(char *) NULL
)
locale hint is sent by the Xp calls.
The syntax for
hinter_desc
is a variation of the unadopted X/Open standard for a "String Network
Locale-Specification Syntax" (X/Open, Distributed Internationalization Services, Version 2, 1994
Snapshot). The Xp
hinter_desc
syntax is:
name_spec[;registry_spec[;ver_spec[;encoding_spec]]]
Some examples include (
hinter_desc
to left, expanded results to the right):
CFRENCH
CFRENCH
%locale%
C
%locale%;CDElocale
C;CDElocale
%locale%;HP
C;HP
%locale%;IBM
C;IBM
%locale%;XOPEN;01_11;XFN-001001
de_DE;XOPEN;01_11;XFN-001001
In Xp, the first item is the locale name, followed by progressively more detailed information about the
locale name, with each piece of information separated by a `;'.
ERRORS/WARNINGS
None
SEE ALSO
XpCreateContext, XpGetPrinterList, XpGetPdmStartParams, XpNotifyPdm