1 #ifndef __LOCALE 2 #define __LOCALE 3 #pragma lib "/$M/lib/ape/libap.a" 4 5 #include <stddef.h> 6 7 #define LC_ALL 0 8 #define LC_COLLATE 1 9 #define LC_CTYPE 2 10 #define LC_MONETARY 3 11 #define LC_NUMERIC 4 12 #define LC_TIME 5 13 14 struct lconv { 15 char *decimal_point; 16 char *thousands_sep; 17 char *grouping; 18 char *int_curr_symbol; 19 char *currency_symbol; 20 char *mon_decimal_point; 21 char *mon_thousands_sep; 22 char *mon_grouping; 23 char *positive_sign; 24 char *negative_sign; 25 char int_frac_digits; 26 char frac_digits; 27 char p_cs_precedes; 28 char p_sep_by_space; 29 char n_cs_precedes; 30 char n_sep_by_space; 31 char p_sign_posn; 32 char n_sign_posn; 33 }; 34 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 39 extern char *setlocale(int, const char *); 40 extern struct lconv *localeconv(void); 41 42 #ifdef __cplusplus 43 } 44 #endif 45 46 #endif /* __LOCALE */ 47