OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [include/] [locale.h] - Blame information for rev 158

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/*
2
        locale.h
3
        Values appropriate for the formatting of monetary and other
4
        numberic quantities.
5
*/
6
 
7
#ifndef _LOCALE_H_
8
#define _LOCALE_H_
9
 
10
#include "_ansi.h"
11
 
12
#ifndef NULL
13
#define NULL    0
14
#endif
15
 
16
#define LC_ALL      0
17
#define LC_COLLATE  1
18
#define LC_CTYPE    2
19
#define LC_MONETARY 3
20
#define LC_NUMERIC  4
21
#define LC_TIME     5
22
#define LC_MESSAGES 6
23
 
24
_BEGIN_STD_C
25
 
26
struct lconv
27
{
28
  char *decimal_point;
29
  char *thousands_sep;
30
  char *grouping;
31
  char *int_curr_symbol;
32
  char *currency_symbol;
33
  char *mon_decimal_point;
34
  char *mon_thousands_sep;
35
  char *mon_grouping;
36
  char *positive_sign;
37
  char *negative_sign;
38
  char int_frac_digits;
39
  char frac_digits;
40
  char p_cs_precedes;
41
  char p_sep_by_space;
42
  char n_cs_precedes;
43
  char n_sep_by_space;
44
  char p_sign_posn;
45
  char n_sign_posn;
46
};
47
 
48
#ifndef _REENT_ONLY
49
char *_EXFUN(setlocale,(int category, const char *locale));
50
struct lconv *_EXFUN(localeconv,(void));
51
#endif
52
 
53
struct _reent;
54
char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale));
55
struct lconv *_EXFUN(_localeconv_r,(struct _reent *));
56
 
57
_END_STD_C
58
 
59
#endif /* _LOCALE_H_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.