]>
Commit | Line | Data |
---|---|---|
728c24ff | 1 | #ifndef _LOCALE_H |
28f540f4 | 2 | #include <locale/locale.h> |
728c24ff | 3 | |
a5cc88e5 RM |
4 | extern __typeof (uselocale) __uselocale; |
5 | ||
30c14c31 RM |
6 | libc_hidden_proto (setlocale) |
7 | ||
47e8b443 UD |
8 | /* This has to be changed whenever a new locale is defined. */ |
9 | #define __LC_LAST 13 | |
10 | ||
ab26a24a UD |
11 | extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden; |
12 | ||
5db91571 | 13 | /* Locale object for C locale. */ |
4b5b009c UD |
14 | extern const struct __locale_struct _nl_C_locobj attribute_hidden; |
15 | #define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj) | |
5db91571 | 16 | |
728c24ff AJ |
17 | /* Now define the internal interfaces. */ |
18 | extern struct lconv *__localeconv (void); | |
19 | ||
30c14c31 RM |
20 | /* Fetch the name of the current locale set in the given category. */ |
21 | extern const char *__current_locale_name (int category) attribute_hidden; | |
22 | ||
728c24ff | 23 | #endif |