00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _ABLE_CLIB_LOCALE_H
00032 #define _ABLE_CLIB_LOCALE_H 1
00033
00034 enum
00035 {
00036 __LC_CTYPE = 0,
00037 __LC_NUMERIC = 1,
00038 __LC_TIME = 2,
00039 __LC_COLLATE = 3,
00040 __LC_MONETARY = 4,
00041 __LC_MESSAGES = 5,
00042 __LC_ALL = 6,
00043 __LC_PAPER = 7,
00044 __LC_NAME = 8,
00045 __LC_ADDRESS = 9,
00046 __LC_TELEPHONE = 10,
00047 __LC_MEASUREMENT = 11,
00048 __LC_IDENTIFICATION = 12
00049 };
00050
00051 #define LC_CTYPE __LC_CTYPE
00052 #define LC_NUMERIC __LC_NUMERIC
00053 #define LC_TIME __LC_TIME
00054 #define LC_COLLATE __LC_COLLATE
00055 #define LC_MONETARY __LC_MONETARY
00056 #define LC_MESSAGES __LC_MESSAGES
00057 #define LC_ALL __LC_ALL
00058 #define LC_PAPER __LC_PAPER
00059 #define LC_NAME __LC_NAME
00060 #define LC_ADDRESS __LC_ADDRESS
00061 #define LC_TELEPHONE __LC_TELEPHONE
00062 #define LC_MEASUREMENT __LC_MEASUREMENT
00063 #define LC_IDENTIFICATION __LC_IDENTIFICATION
00064
00065 extern char *setlocale (int __category, __const char *__locale);
00066 extern struct lconv *localeconv(void) ;
00067
00068
00069 struct lconv
00070 {
00071 char *decimal_point;
00072 char *thousands_sep;
00073 char *grouping;
00074 char *int_curr_symbol;
00075 char *currency_symbol;
00076 char *mon_decimal_point;
00077 char *mon_thousands_sep;
00078 char *mon_grouping;
00079 char *positive_sign;
00080 char *negative_sign;
00081 char int_frac_digits;
00082 char frac_digits;
00083 char p_cs_precedes;
00084 char p_sep_by_space;
00085 char n_cs_precedes;
00086 char n_sep_by_space;
00087 char p_sign_posn;
00088 char n_sign_posn;
00089 char int_p_cs_precedes;
00090 char int_p_sep_by_space;
00091 char int_n_cs_precedes;
00092 char int_n_sep_by_space;
00093 char int_p_sign_posn;
00094 char int_n_sign_posn;
00095 };
00096
00097 #endif