Search
lxdream.org :: lxdream/test/include/locale.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/include/locale.h
changeset 185:6755a04c447f
author nkeynes
date Sat Aug 05 00:18:21 2006 +0000 (16 years ago)
permissions -rw-r--r--
last change Add error lines to tests with incomplete polys
Split clip tests to separate data file
Add tests for cmd bit 23 ("use list size field")
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/include/locale.h Sat Aug 05 00:18:21 2006 +0000
1.3 @@ -0,0 +1,60 @@
1.4 +/*
1.5 + locale.h
1.6 + Values appropriate for the formatting of monetary and other
1.7 + numberic quantities.
1.8 +*/
1.9 +
1.10 +#ifndef _LOCALE_H_
1.11 +#ifdef __cplusplus
1.12 +extern "C" {
1.13 +#endif
1.14 +#define _LOCALE_H_
1.15 +
1.16 +#include "_ansi.h"
1.17 +
1.18 +#ifndef NULL
1.19 +#define NULL 0L
1.20 +#endif
1.21 +
1.22 +#define LC_ALL 0
1.23 +#define LC_COLLATE 1
1.24 +#define LC_CTYPE 2
1.25 +#define LC_MONETARY 3
1.26 +#define LC_NUMERIC 4
1.27 +#define LC_TIME 5
1.28 +
1.29 +struct lconv
1.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_ONLY
1.52 +char *_EXFUN(setlocale,(int category, const char *locale));
1.53 +struct lconv *_EXFUN(localeconv,(void));
1.54 +#endif
1.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 __cplusplus
1.61 +}
1.62 +#endif
1.63 +#endif /* _LOCALE_H_ */
.