home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c329 / 2.img / INCL_A / LOCALE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-23  |  1.0 KB  |  33 lines

  1. /*  locale.h
  2.  *  ANSI C Runtime Library
  3.  */
  4.  
  5. #ifndef _LOCAL_H
  6. #define _LOCAL_H
  7. struct lconv {
  8.     char *decimal_point;        /* "." */
  9.     char *thousands_sep;        /* "" */
  10.     char *int_curr_symbol;      /* "" */
  11.     char *currency_symbol;      /* "" */
  12.     char *mon_decimal_point;    /* "" */
  13.     char *mon_thousands_sep;    /* "" */
  14.     char *negative_sign;        /* "" */
  15.     char frac_digits;           /* CHAR_MAX */
  16.     char p_cs_precedes;         /* CHAR_MAX */
  17.     char p_sep_by_space;        /* CHAR_MAX */
  18.     char n_sc_precedes;         /* CHAR_MAX */
  19.     char n_sep_by_space;        /* CHAR_MAX */
  20.     char n_sign_point;          /* CHAR_MAX */
  21. };
  22.  
  23. #define LC_ALL              (LC_COLLATE|LC_CTYPE|LC_MONETARY|LC_NUMERIC|LC_TIME)
  24. #define LC_COLLATE          (1<<0)
  25. #define LC_CTYPE            (1<<1)
  26. #define LC_MONETARY         (1<<2)
  27. #define LC_NUMERIC          (1<<3)
  28. #define LC_TIME             (1<<4)
  29.  
  30. char *setlocale(int catagory, const char *locale);
  31. struct lconv *localeconv(void);
  32. #endif /* _LOCAL_H */
  33.