Xlocale.h revision e9fcaa8a
1/* 2 3Copyright 1991, 1998 The Open Group 4 5Permission to use, copy, modify, distribute, and sell this software and its 6documentation for any purpose is hereby granted without fee, provided that 7the above copyright notice appear in all copies and that both that 8copyright notice and this permission notice appear in supporting 9documentation. 10 11The above copyright notice and this permission notice shall be included 12in all copies or substantial portions of the Software. 13 14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 17IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 18OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20OTHER DEALINGS IN THE SOFTWARE. 21 22Except as contained in this notice, the name of The Open Group shall 23not be used in advertising or otherwise to promote the sale, use or 24other dealings in this Software without prior written authorization 25from The Open Group. 26 27*/ 28 29#ifndef _X11_XLOCALE_H_ 30#define _X11_XLOCALE_H_ 31 32#include <X11/Xfuncproto.h> 33#include <X11/Xosdefs.h> 34 35#ifndef X_LOCALE 36#include <locale.h> 37#else 38 39#define LC_ALL 0 40#define LC_COLLATE 1 41#define LC_CTYPE 2 42#define LC_MONETARY 3 43#define LC_NUMERIC 4 44#define LC_TIME 5 45 46_XFUNCPROTOBEGIN 47extern char *_Xsetlocale( 48 int /* category */, 49 _Xconst char* /* name */ 50); 51_XFUNCPROTOEND 52 53#define setlocale _Xsetlocale 54 55#include <stddef.h> 56 57#endif /* X_LOCALE */ 58 59#endif /* _X11_XLOCALE_H_ */ 60