2000-12-28 07:58:08 +00:00
|
|
|
#ifndef _LOCALE_H
|
1995-02-18 01:27:10 +00:00
|
|
|
#include <locale/locale.h>
|
2000-12-28 07:58:08 +00:00
|
|
|
|
2012-02-25 23:18:39 -05:00
|
|
|
#ifndef _ISOMAC
|
2002-08-28 06:59:14 +00:00
|
|
|
extern __typeof (uselocale) __uselocale;
|
|
|
|
|
|
2002-08-04 01:41:55 +00:00
|
|
|
libc_hidden_proto (setlocale)
|
2007-02-02 15:29:40 +00:00
|
|
|
libc_hidden_proto (__uselocale)
|
2002-08-04 01:41:55 +00:00
|
|
|
|
2001-12-10 01:37:56 +00:00
|
|
|
/* This has to be changed whenever a new locale is defined. */
|
|
|
|
|
#define __LC_LAST 13
|
|
|
|
|
|
2002-03-13 06:33:52 +00:00
|
|
|
extern struct loaded_l10nfile *_nl_locale_file_list[] attribute_hidden;
|
|
|
|
|
|
2001-08-14 23:29:55 +00:00
|
|
|
/* Locale object for C locale. */
|
2005-12-21 07:28:33 +00:00
|
|
|
extern const struct __locale_struct _nl_C_locobj attribute_hidden;
|
|
|
|
|
#define _nl_C_locobj_ptr ((struct __locale_struct *) &_nl_C_locobj)
|
2001-08-14 23:29:55 +00:00
|
|
|
|
2000-12-28 07:58:08 +00:00
|
|
|
/* Now define the internal interfaces. */
|
|
|
|
|
extern struct lconv *__localeconv (void);
|
|
|
|
|
|
2002-08-04 01:41:55 +00:00
|
|
|
/* Fetch the name of the current locale set in the given category. */
|
|
|
|
|
extern const char *__current_locale_name (int category) attribute_hidden;
|
|
|
|
|
|
2000-12-28 07:58:08 +00:00
|
|
|
#endif
|
2012-02-25 23:18:39 -05:00
|
|
|
#endif
|