locale.h 743 B

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