vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

locale.h (961B)


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