home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / uccs / root.14 / udk / usr / include / locale.h < prev    next >
C/C++ Source or Header  |  1998-08-19  |  1KB  |  61 lines

  1. /*
  2.  * Copyright (c) 1998 The Santa Cruz Operation, Inc.. All Rights Reserved. 
  3.  *                                                                         
  4.  *        THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF THE               
  5.  *                   SANTA CRUZ OPERATION INC.                             
  6.  *                                                                         
  7.  *   The copyright notice above does not evidence any actual or intended   
  8.  *   publication of such source code.                                      
  9.  */
  10.  
  11. #ifndef _LOCALE_H
  12. #define _LOCALE_H
  13. #ident    "@(#)sgs-head:common/head/locale.h    1.11"
  14.  
  15. struct lconv
  16. {
  17.     char    *decimal_point;
  18.     char    *thousands_sep;
  19.     char    *grouping;
  20.     char    *int_curr_symbol;
  21.     char    *currency_symbol;
  22.     char    *mon_decimal_point;
  23.     char    *mon_thousands_sep;
  24.     char    *mon_grouping;
  25.     char    *positive_sign;
  26.     char    *negative_sign;
  27.     char    int_frac_digits;
  28.     char    frac_digits;
  29.     char    p_cs_precedes;
  30.     char    p_sep_by_space;
  31.     char    n_cs_precedes;
  32.     char    n_sep_by_space;
  33.     char    p_sign_posn;
  34.     char    n_sign_posn;
  35. };
  36.  
  37. #define LC_CTYPE    0
  38. #define LC_NUMERIC    1
  39. #define LC_TIME        2
  40. #define LC_COLLATE    3
  41. #define LC_MONETARY    4
  42. #define LC_MESSAGES    5
  43. #define LC_ALL        6
  44.  
  45. #ifndef NULL
  46. #   define NULL    0
  47. #endif
  48.  
  49. #ifdef __cplusplus
  50. extern "C" {
  51. #endif
  52.  
  53. extern char    *setlocale(int, const char *);
  54. struct lconv    *localeconv(void);
  55.  
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59.  
  60. #endif /*_LOCALE_H*/
  61.