#ifdef __cplusplus
/* (MRL) Should 'struct lconv* localeconv(void)' be prototyped? */
extern "C" {
#endif
/*
 *		AIX/370
 *		5713-AFL
 *	LICENSED MATERIALS - PROPERTY OF IBM
 *	(c) Copyright 1989 IBM Corp.
 *	(c) Copyright 1989 Locus Computing Corporation
 *	All Rights Reserved
 */

#ifndef _POSIX_SOURCE
#ifndef SCCSID
#include <sccs.h>
#endif /* ! SCCSID */
H_SCCSID(@(#)locale.h	1.10	AIX);	/* Modified 6/27/91 00:15:36 */
#endif

#ifndef		_H_LOCALE
#define		_H_LOCALE

#ifdef _MBCS

#define LC_ALL		1
#define LC_COLLATE	2
#define LC_CTYPE	3
#define LC_MONETARY	4
#define LC_NUMERIC	5
#define LC_TIME		6
#define LC_MESSAGE	7

#define	LC_LOCFILE	8
#define	LC_MBDATE	9
#define	LC_MBLANG	10
#define	LC_MBLDATE	11
#define	LC_MBLDATIM	12
#define	LC_MBLDAY	13
#define	LC_MBSDAY	14
#define	LC_MBLMONTH	15
#define	LC_MBSMONTH	16
#define	LC_MBTIME	17
#define	LC_MBAM_STR	18
#define	LC_MBPM_STR	19
#define	LC_LANG		20
#define	LC_MBCURSYM	21
#define	LC_MBNUMSEP	22
#define	LC_MBTMISC	23
#define	LC_MBMONEY	24
#define	LC_MBTSTRS	25
#define	LC_MBNOSTR	26
#define	LC_MBYESSTR	27
#define	LC_MBCOLTAB	28
#define	LC_MBCTYPE	29
#define	LC_MBCONVT	30
#define	LC_MBNLIN	31
#define	LC_MBNLOUT	32

#else	/* ~_MBCS */

#define	LC_ALL		-1
#define	LC_CTYPE	 0
#define	LC_COLLATE	 1
#define	LC_TIME		 2
#define	LC_NUMERIC	 3
#define	LC_MONETARY	 4

#endif	/* ~_MBCS */

char *setlocale(int , const char *);

#ifdef _MBCS
struct lconv {
   char *decimal_point;		/* decimal point character		*/
   char *thousands_sep;		/* thousands separator		 	*/
   char *grouping;		/* digit grouping		 	*/
   char *int_curr_symbol;	/* international currency symbol	*/
   char *currency_symbol;	/* national currency symbol		*/
   char *mon_decimal_point;	/* currency decimal point		*/
   char *mon_thousands_sep;	/* currency thousands separator		*/
   char *mon_grouping;		/* currency digits grouping		*/
   char *positive_sign;		/* currency plus sign			*/
   char *negative_sign;		/* currency minus sign		 	*/
   char int_frac_digits;	/* internat currency fractional digits	*/
   char frac_digits;		/* currency fractional digits		*/
   char p_cs_precedes;		/* currency plus location		*/
   char p_sep_by_space;		/* currency plus space ind.		*/
   char n_cs_precedes;		/* currency minus location		*/
   char n_sep_by_space;		/* currency minus space ind.		*/
   char p_sign_posn;		/* currency plus position		*/
   char n_sign_posn;		/* currency minus position		*/
};
#endif

#endif	/* _H_LOCALE */
#ifdef __cplusplus
}
#endif
