Back to index

glibc  2.9
locale.h
Go to the documentation of this file.
00001 #ifndef       _LOCALE_H
00002 #include <locale/locale.h>
00003 
00004 extern __typeof (uselocale) __uselocale;
00005 
00006 libc_hidden_proto (setlocale)
00007 libc_hidden_proto (__uselocale)
00008 
00009 /* This has to be changed whenever a new locale is defined.  */
00010 #define __LC_LAST    13
00011 
00012 extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
00013 
00014 /* Locale object for C locale.  */
00015 extern const struct __locale_struct _nl_C_locobj attribute_hidden;
00016 #define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj)
00017 
00018 /* Now define the internal interfaces.  */
00019 extern struct lconv *__localeconv (void);
00020 
00021 /* Fetch the name of the current locale set in the given category.  */
00022 extern const char *__current_locale_name (int category) attribute_hidden;
00023 
00024 #endif