Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / libcc.ansi / headers / locale.h
1 /*
2  * locale.h - localization
3  */
4 /* $Id: locale.h,v 1.5 1994/06/24 11:40:57 ceriel Exp $ */
5
6 #if     !defined(_LOCALE_H)
7 #define _LOCALE_H
8
9 struct lconv {
10         char    *decimal_point;         /* "." */
11         char    *thousands_sep;         /* "" */
12         char    *grouping;              /* "" */
13         char    *int_curr_symbol;       /* "" */
14         char    *currency_symbol;       /* "" */
15         char    *mon_decimal_point;     /* "" */
16         char    *mon_thousands_sep;     /* "" */
17         char    *mon_grouping;          /* "" */
18         char    *positive_sign;         /* "" */
19         char    *negative_sign;         /* "" */
20         char    int_frac_digits;        /* CHAR_MAX */
21         char    frac_digits;            /* CHAR_MAX */
22         char    p_cs_precedes;          /* CHAR_MAX */
23         char    p_sep_by_space;         /* CHAR_MAX */
24         char    n_cs_precedes;          /* CHAR_MAX */
25         char    n_sep_by_space;         /* CHAR_MAX */
26         char    p_sign_posn;            /* CHAR_MAX */
27         char    n_sign_posn;            /* CHAR_MAX */
28 };
29
30 #define NULL            ((void *)0)
31
32 #define LC_ALL          1
33 #define LC_COLLATE      2
34 #define LC_CTYPE        3
35 #define LC_MONETARY     4
36 #define LC_NUMERIC      5
37 #define LC_TIME         6
38
39
40 char *setlocale(int _category, const char *_locale);
41 struct lconv *localeconv(void);
42
43 #endif  /* _LOCALE_H */