Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4680 | right-hear | 1 | /* Copyright (C) 1997 DJ Delorie, see COPYING.DJ for details */ |
2 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
||
3 | #ifndef __dj_include_locale_h_ |
||
4 | #define __dj_include_locale_h_ |
||
5 | |||
6 | #ifdef __cplusplus |
||
7 | extern "C" { |
||
8 | #endif |
||
9 | |||
10 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
||
11 | |||
12 | #define LC_ALL 0x1f |
||
13 | #define LC_COLLATE 0x01 |
||
14 | #define LC_CTYPE 0x02 |
||
15 | #define LC_MONETARY 0x04 |
||
16 | #define LC_NUMERIC 0x08 |
||
17 | #define LC_TIME 0x10 |
||
18 | #define NULL 0 |
||
19 | |||
20 | struct lconv { |
||
21 | char *currency_symbol; |
||
22 | char *decimal_point; |
||
23 | char *grouping; |
||
24 | char *int_curr_symbol; |
||
25 | char *mon_decimal_point; |
||
26 | char *mon_grouping; |
||
27 | char *mon_thousands_sep; |
||
28 | char *negative_sign; |
||
29 | char *positive_sign; |
||
30 | char *thousands_sep; |
||
31 | char frac_digits; |
||
32 | char int_frac_digits; |
||
33 | char n_cs_precedes; |
||
34 | char n_sep_by_space; |
||
35 | char n_sign_posn; |
||
36 | char p_cs_precedes; |
||
37 | char p_sep_by_space; |
||
38 | char p_sign_posn; |
||
39 | }; |
||
40 | |||
41 | struct lconv * localeconv(void); |
||
42 | char * setlocale(int _category, const char *_locale); |
||
43 | |||
44 | #ifndef __STRICT_ANSI__ |
||
45 | |||
46 | #ifndef _POSIX_SOURCE |
||
47 | |||
48 | #endif /* !_POSIX_SOURCE */ |
||
49 | #endif /* !__STRICT_ANSI__ */ |
||
50 | #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
||
51 | |||
52 | #ifndef __dj_ENFORCE_FUNCTION_CALLS |
||
53 | #endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
||
54 | |||
55 | #ifdef __cplusplus |
||
56 | } |
||
57 | #endif |
||
58 | |||
59 | #endif /* !__dj_include_locale_h_ */ |