GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
m17nLocale(3m17n) The m17n Library m17nLocale(3m17n)

m17nLocale_-_Lo - - Locale objects and API for them.


typedef struct MLocale MLocale
struct MLocale.


MPlist * mlanguage_list (void)
List 3-letter language codes. MSymbol mlanguage_code (MSymbol language, int len)
Get a language code. MPlist * mlanguage_name_list (MSymbol language, MSymbol target, MSymbol script, MSymbol territory)
Return the language names written in the specified language. MText * mlanguage_text (MSymbol language)
Return the language name written in that language. MPlist * mscript_list (void)
List script names. MPlist * mscript_language_list (MSymbol script)
List languages that use a specified script. MLocale * mlocale_set (int category, const char *name)
Set the current locale. MSymbol mlocale_get_prop (MLocale *locale, MSymbol key)
Get the value of a locale property. int mtext_ftime (MText *mt, const char *format, const struct tm *tm, MLocale *locale)
Format date and time. MText * mtext_getenv (const char *name)
Get an environment variable. int mtext_putenv (MText *mt)
Change or add an environment variable. int mtext_coll (MText *mt1, MText *mt2)
Compare two M-texts using the current locale.


MSymbol Miso639_1
MSymbol Miso639_2
MSymbol Mterritory
MSymbol Mmodifier
MSymbol Mcodeset

Locale objects and API for them.

The m17n library represents locale related information as objects of type MLocale.

struct MLocale. The structure MLocale is used to hold information about name, language, territory, modifier, codeset, and the corresponding coding system of locales.

The contents of this structure are implementation dependent. Its internal structure is concealed from application programs.

SEE ALSO

mlocale_get_prop()

The symbol whose name is 'territory'.

The symbol whose name is 'modifier'.

The symbol whose name is 'codeset'.

Generated automatically by Doxygen for The m17n Library from the source code.

Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.

Mon Sep 25 2023 Version 1.8.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.