123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- #ifndef _LOCALE_H
- #define _LOCALE_H 1
- #include <features.h>
- #define __need_NULL
- #include <stddef.h>
- #include <bits/uClibc_locale.h>
- __BEGIN_DECLS
- #define LC_CTYPE __LC_CTYPE
- #define LC_NUMERIC __LC_NUMERIC
- #define LC_TIME __LC_TIME
- #define LC_COLLATE __LC_COLLATE
- #define LC_MONETARY __LC_MONETARY
- #define LC_MESSAGES __LC_MESSAGES
- #define LC_ALL __LC_ALL
- struct lconv
- {
-
- char *decimal_point;
- char *thousands_sep;
-
- char *grouping;
-
-
- char *int_curr_symbol;
- char *currency_symbol;
- char *mon_decimal_point;
- char *mon_thousands_sep;
- char *mon_grouping;
- char *positive_sign;
- char *negative_sign;
- char int_frac_digits;
- char frac_digits;
-
- char p_cs_precedes;
-
- char p_sep_by_space;
-
- char n_cs_precedes;
-
- char n_sep_by_space;
-
- char p_sign_posn;
- char n_sign_posn;
- #ifdef __USE_ISOC99
-
- char int_p_cs_precedes;
-
- char int_p_sep_by_space;
-
- char int_n_cs_precedes;
-
- char int_n_sep_by_space;
-
- char int_p_sign_posn;
- char int_n_sign_posn;
- #else
- char __int_p_cs_precedes;
- char __int_p_sep_by_space;
- char __int_n_cs_precedes;
- char __int_n_sep_by_space;
- char __int_p_sign_posn;
- char __int_n_sign_posn;
- #endif
- };
- extern char *setlocale (int __category, __const char *__locale) __THROW;
- extern struct lconv *localeconv (void) __THROW;
- #if 0
- # include <xlocale.h>
- extern __locale_t __newlocale (int __category_mask, __const char *__locale,
- __locale_t __base) __THROW;
- extern __locale_t __duplocale (__locale_t __dataset) __THROW;
- extern void __freelocale (__locale_t __dataset) __THROW;
- #endif
- __END_DECLS
- #endif
|