Define IPPORT_RESERVED in netdb.h for XPG4 and UNIX98 (bug 14838).
[glibc.git] / include / locale.h
blob8091e1dc80593cbad331ea8498b43753e06cbfaf
1 #ifndef _LOCALE_H
2 #include <locale/locale.h>
4 #ifndef _ISOMAC
5 extern __typeof (uselocale) __uselocale;
7 libc_hidden_proto (setlocale)
8 libc_hidden_proto (__uselocale)
10 /* This has to be changed whenever a new locale is defined. */
11 #define __LC_LAST 13
13 extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
15 /* Locale object for C locale. */
16 extern const struct __locale_struct _nl_C_locobj attribute_hidden;
17 #define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj)
19 /* Now define the internal interfaces. */
20 extern struct lconv *__localeconv (void);
22 /* Fetch the name of the current locale set in the given category. */
23 extern const char *__current_locale_name (int category) attribute_hidden;
25 #endif
26 #endif