home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 5.ddi / MWHC.005 / 91 < prev    next >
Encoding:
Text File  |  1992-01-07  |  966 b   |  48 lines

  1. /*
  2.  *   locale.h -- ANSI 
  3.  *
  4.  *   Functions, types, and macros pertaining to geographic
  5.  *   localization of numeric formats.
  6.  *
  7.  *           Copyright (c) 1990, MetaWare Incorporated
  8.  */
  9.  
  10. #ifndef _LOCALE_H
  11. #define _LOCALE_H
  12.  
  13. struct lconv {
  14.     char *decimal_point;
  15.     char *thousands_sep;
  16.     char *grouping;
  17.     char *int_curr_symbol;
  18.     char *currency_symbol;
  19.     char *mon_decimal_point;
  20.     char *mon_thousands_sep;
  21.     char *mon_grouping;
  22.     char *positive_sign;
  23.     char *negative_sign;
  24.     char frac_digits;
  25.     char p_cs_precedes;
  26.     char p_sep_by_space;
  27.     char n_cs_precedes;
  28.     char n_sep_by_space;
  29.     char p_sign_posn;
  30.     char n_sign_posn;
  31. };
  32.  
  33. #ifndef NULL
  34. #define NULL            ((void *)0)
  35. #endif
  36.  
  37. #define LC_ALL         0
  38. #define LC_COLLATE    1
  39. #define LC_CTYPE    2
  40. #define LC_MONETARY    3
  41. #define LC_NUMERIC    4
  42. #define LC_TIME        5
  43.  
  44. extern char * setlocale(int __category, const char *__locale);
  45. extern struct lconv *localeconv(void);
  46.  
  47. #endif /* _LOCALE_H */
  48.