home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s038 / 10.ddi / 017.LIF / LOCALE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-07-02  |  1.1 KB  |  52 lines

  1. /* locale.h - header for locale functions
  2.  * Copyright (c) 1990 Intel Corporation, ALL RIGHTS RESERVED.
  3.  */
  4.  
  5. #ifndef _localeh
  6. #define _localeh
  7.  
  8. #pragma fixedparams("setlocale", "localeconv")
  9.  
  10. #ifndef NULL
  11. #define NULL ((void *)0)
  12. #endif
  13.  
  14. #pragma align (lconv)
  15. struct lconv {
  16.     char *decimal_point;
  17.     char *thousands_sep;
  18.     char *grouping;
  19.     char *int_curr_symbol;
  20.     char *currency_symbol;
  21.     char *mon_decimal_point;
  22.     char *mon_thousands_sep;
  23.     char *mon_grouping;
  24.     char *positive_sign;
  25.     char *negative_sign;
  26.     char  int_frac_digits;
  27.     char  frac_digits;
  28.     char  p_cs_precedes;
  29.     char  p_sep_by_space;
  30.     char  n_cs_precedes;
  31.     char  n_sep_by_space;
  32.     char  p_sign_posn;
  33.     char  n_sign_posn;
  34. };
  35.  
  36. #define LC_ALL        0
  37. #define LC_COLLATE    1
  38. #define LC_CTYPE    2
  39. #define LC_MONETARY    3
  40. #define LC_NUMERIC    4
  41. #define LC_TIME        5
  42. #define LC_MIN          LC_ALL
  43. #define LC_MAX          LC_TIME
  44.  
  45. /*
  46.  * Function prototypes:
  47.  */
  48. char         *setlocale(int, const char *);
  49. struct lconv *localeconv(void);
  50.  
  51. #endif /* _localeh */
  52.