scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

locale.h (733B)


      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 };
     35 
     36 extern char *setlocale(int category, const char *locale);
     37 extern struct lconv *localeconv(void);
     38 
     39 #endif