filename | test/include/locale.h |
changeset | 185:6755a04c447f |
author | nkeynes |
date | Fri Nov 25 09:02:13 2011 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Fix built-source dependencies to include $(EXEEXT), for the sake of win32 builds |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/test/include/locale.h Fri Nov 25 09:02:13 2011 +10001.3 @@ -0,0 +1,60 @@1.4 +/*1.5 + locale.h1.6 + Values appropriate for the formatting of monetary and other1.7 + numberic quantities.1.8 +*/1.9 +1.10 +#ifndef _LOCALE_H_1.11 +#ifdef __cplusplus1.12 +extern "C" {1.13 +#endif1.14 +#define _LOCALE_H_1.15 +1.16 +#include "_ansi.h"1.17 +1.18 +#ifndef NULL1.19 +#define NULL 0L1.20 +#endif1.21 +1.22 +#define LC_ALL 01.23 +#define LC_COLLATE 11.24 +#define LC_CTYPE 21.25 +#define LC_MONETARY 31.26 +#define LC_NUMERIC 41.27 +#define LC_TIME 51.28 +1.29 +struct lconv1.30 +{1.31 + char *decimal_point;1.32 + char *thousands_sep;1.33 + char *grouping;1.34 + char *int_curr_symbol;1.35 + char *currency_symbol;1.36 + char *mon_decimal_point;1.37 + char *mon_thousands_sep;1.38 + char *mon_grouping;1.39 + char *positive_sign;1.40 + char *negative_sign;1.41 + char int_frac_digits;1.42 + char frac_digits;1.43 + char p_cs_precedes;1.44 + char p_sep_by_space;1.45 + char n_cs_precedes;1.46 + char n_sep_by_space;1.47 + char p_sign_posn;1.48 + char n_sign_posn;1.49 +};1.50 +1.51 +#ifndef _REENT_ONLY1.52 +char *_EXFUN(setlocale,(int category, const char *locale));1.53 +struct lconv *_EXFUN(localeconv,(void));1.54 +#endif1.55 +1.56 +struct _reent;1.57 +char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale));1.58 +struct lconv *_EXFUN(_localeconv_r,(struct _reent *));1.59 +1.60 +#ifdef __cplusplus1.61 +}1.62 +#endif1.63 +#endif /* _LOCALE_H_ */
.