/* Copyright 1989, 1990, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. locale.h */ #ifndef __LOCALE_H #define __LOCALE_H /* Structure Definitions: */ struct lconv { char *decimal_point; /* "." */ char *thousands_sep; /* "" */ char *grouping; /* "" */ char *int_curr_symbol; /* "" */ char *currency_symbol; /* "" */ char *mon_decimal_point; /* "" */ char *mon_thousands_sep; /* "" */ char *mon_grouping; /* "" */ char *positive_sign; /* "" */ char *negative_sign; /* "" */ char int_frac_digits; /* CHAR_MAX */ char frac_digits; /* CHAR_MAX */ char p_cs_precedes; /* CHAR_MAX */ char p_sep_by_space; /* CHAR_MAX */ char n_cs_precedes; /* CHAR_MAX */ char n_sep_by_space; /* CHAR_MAX */ char p_sign_posn; /* CHAR_MAX */ char n_sign_posn; /* CHAR_MAX */ }; /* Definitions: */ #ifndef __DEFINED_NULL_MACRO #define __DEFINED_NULL_MACRO #define NULL ((void *) 0) #endif #define LC_ALL ( 0xFFFF ) #define LC_COLLATE ( 0x0001 ) #define LC_CTYPE ( 0x0002 ) #define LC_NUMERIC ( 0x0004 ) #define LC_MONETARY ( 0x0008 ) #define LC_TIME ( 0x0010 ) #ifndef __STDC__ #define localeconv C$LCON #define setlocale C$SLOC #endif /* Linkage Definitions: */ #pragma linkage c setlocale, localeconv char *setlocale ( int __category, const char * __locale); struct lconv *localeconv ( void ); #endif