home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / ansi / locale.h < prev    next >
C/C++ Source or Header  |  1990-01-22  |  738b  |  38 lines

  1. /* Copyright (c) 1988 NeXT, Inc. - 9/8/88 CCH */
  2.  
  3. #ifndef _LOCALE_H
  4. #define _LOCALE_H
  5.  
  6. #define LC_ALL 0
  7. #define LC_COLLATE 1
  8. #define LC_CTYPE 2
  9. #define LC_MONETARY 3
  10. #define LC_NUMERIC 4
  11. #define LC_TIME 5
  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 int_frac_digits;
  25.     char frac_digits;
  26.     char p_cs_precedes;
  27.     char p_sep_by_space;
  28.     char n_cs_precedes;
  29.     char n_sep_by_space;
  30.     char p_sign_posn;
  31.     char n_sign_posn;
  32. };
  33.  
  34. extern char *setlocale(int category, const char *locale);
  35. extern struct lconv *localeconv(void);
  36.  
  37. #endif /* _LOCALE_H */
  38.