chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / include / locale.h
1 #ifndef _LOCALE_H
2 #include <locale/locale.h>
3
4 extern __typeof (uselocale) __uselocale;
5
6 libc_hidden_proto (setlocale)
7 libc_hidden_proto (__uselocale)
8
9 /* This has to be changed whenever a new locale is defined.  */
10 #define __LC_LAST       13
11
12 extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
13
14 /* Locale object for C locale.  */
15 extern const struct __locale_struct _nl_C_locobj attribute_hidden;
16 #define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj)
17
18 /* Now define the internal interfaces.  */
19 extern struct lconv *__localeconv (void);
20
21 /* Fetch the name of the current locale set in the given category.  */
22 extern const char *__current_locale_name (int category) attribute_hidden;
23
24 #endif