]]>
]]>
Get_Locale
special file
Get_Locale
get a tool's locale
Get_Locale(in string category,
out string locale
[...]);
DESCRIPTION
The
Get_Locale request
reports the
locale of the indicated locale categories.
The
category argument
is the locale category to get.
A locale category is a
group of data types whose output formatting varies according to
locale in a similar way.
ISO C and &str-XX; locale categories are:
LC_ALL
LC_COLLATE
LC_CTYPE
LC_MESSAGES
LC_MONETARY
LC_NUMERIC
LC_TIME
The
locale argument
is the name of the current locale of the indicated category.
The value of
locale is implementation-defined.
C, de, fr, it, etc.
]]>
ERRORS
The ToolTalk service may return the following error
in processing the
Get_Locale request:
TT_DESKTOP_EINVAL
The
locale argument is not valid on the handler's host.
APPLICATION USAGE
The
&cdeman.ttdt.session.join;, function can be used to register for,
and transparently process, the
Get_Locale request.
Also,
Get_Locale can be sent by
&cdeman.ttdt.sender.imprint.on;, with the reply being handled transparently.
SEE ALSO
setlocale3C Solaris 2.3 Developer's Guide to Internationalization, ]]>&cdeman.ttdt.sender.imprint.on;, &cdeman.ttdt.session.join;; Set_Locale request.