]> git.sur5r.net Git - cc65/blob - include/locale.h
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / include / locale.h
1 /*
2  * locale.h
3  *
4  * Ullrich von Bassewitz, 11.12.1998
5  *
6  */
7
8
9
10 #ifndef _LOCALE_H
11 #define _LOCALE_H
12
13
14
15 /* NULL pointer */
16 #ifdef NULL
17 #  undef NULL
18 #endif
19 #define NULL    0
20
21 /* Locale information constants */
22 #define LC_ALL          0
23 #define LC_COLLATE      1
24 #define LC_CTYPE        2
25 #define LC_MONETARY     3
26 #define LC_NUMERIC      4
27 #define LC_TIME         5
28
29 /* Struct containing locale settings */
30 struct lconv {
31     char*       currency_symbol;
32     char*       decimal_point;
33     char*       grouping;
34     char*       int_curr_symbol;
35     char*       mon_decimal_point;
36     char*       mon_grouping;
37     char*       mon_thousands_sep;
38     char*       negative_sign;
39     char*       positive_sign;
40     char*       thousands_sep;
41     char        frac_digits;
42     char        int_frac_digits;
43     char        n_cs_precedes;
44     char        n_sep_by_space;
45     char        n_sign_posn;
46     char        p_cs_precedes;
47     char        p_sep_by_space;
48     char        p_sign_posn;
49 };
50
51 /* Function prototypes */
52 struct lconv* localeconv (void);
53 char* setlocale (int category, const char* locale);
54
55
56
57 /* End of locale.h */
58 #endif
59
60
61