scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

locale.h (881B)


      1 #ifndef _LOCALE_H
      2 #define _LOCALE_H
      3 
      4 #ifndef NULL
      5 #define NULL ((void *) 0)
      6 #endif
      7 
      8 #define LC_ALL      0
      9 #define LC_COLLATE  1
     10 #define LC_CTYPE    2
     11 #define LC_MONETARY 3
     12 #define LC_NUMERIC  4
     13 #define LC_TIME     5
     14 
     15 struct lconv {
     16 	char *decimal_point;
     17 	char *thousands_sep;
     18 	char *grouping;
     19 	char *mon_decimal_point;
     20 	char *mon_thousands_sep;
     21 	char *mon_grouping;
     22 	char *positive_sign;
     23 	char *negative_sign;
     24 	char *currency_symbol;
     25 	char *int_curr_symbol;
     26 	char frac_digits;
     27 	char p_cs_precedes;
     28 	char n_cs_precedes;
     29 	char p_sep_by_space;
     30 	char n_sep_by_space;
     31 	char p_sign_posn;
     32 	char n_sign_posn;
     33 	char int_frac_digits;
     34 	char int_p_cs_precedes;
     35 	char int_n_cs_precedes;
     36 	char int_p_sep_by_space;
     37 	char int_n_sep_by_space;
     38 	char int_p_sign_posn;
     39 	char int_n_sign_posn;
     40 };
     41 
     42 extern char *setlocale(int category, const char *locale);
     43 extern struct lconv *localeconv(void);
     44 
     45 #endif