.
[glibc/history.git] / include / locale.h
bloba296a5f8f6fb336a8cabfa8b47293c815890e702
1 #ifndef _LOCALE_H
2 #include <locale/locale.h>
4 extern __typeof (uselocale) __uselocale;
6 libc_hidden_proto (setlocale)
7 libc_hidden_proto (__uselocale)
9 /* This has to be changed whenever a new locale is defined. */
10 #define __LC_LAST 13
12 extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
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)
18 /* Now define the internal interfaces. */
19 extern struct lconv *__localeconv (void);
21 /* Fetch the name of the current locale set in the given category. */
22 extern const char *__current_locale_name (int category) attribute_hidden;
24 #endif