Xlocale.h revision e9fcaa8a
11ab64890Smrg/* 21ab64890Smrg 31ab64890SmrgCopyright 1991, 1998 The Open Group 41ab64890Smrg 51ab64890SmrgPermission to use, copy, modify, distribute, and sell this software and its 61ab64890Smrgdocumentation for any purpose is hereby granted without fee, provided that 71ab64890Smrgthe above copyright notice appear in all copies and that both that 81ab64890Smrgcopyright notice and this permission notice appear in supporting 91ab64890Smrgdocumentation. 101ab64890Smrg 111ab64890SmrgThe above copyright notice and this permission notice shall be included 121ab64890Smrgin all copies or substantial portions of the Software. 131ab64890Smrg 141ab64890SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 151ab64890SmrgOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 161ab64890SmrgMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 171ab64890SmrgIN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 181ab64890SmrgOTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 191ab64890SmrgARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 201ab64890SmrgOTHER DEALINGS IN THE SOFTWARE. 211ab64890Smrg 221ab64890SmrgExcept as contained in this notice, the name of The Open Group shall 231ab64890Smrgnot be used in advertising or otherwise to promote the sale, use or 241ab64890Smrgother dealings in this Software without prior written authorization 251ab64890Smrgfrom The Open Group. 261ab64890Smrg 271ab64890Smrg*/ 281ab64890Smrg 29e9fcaa8aSmrg#ifndef _X11_XLOCALE_H_ 30e9fcaa8aSmrg#define _X11_XLOCALE_H_ 311ab64890Smrg 321ab64890Smrg#include <X11/Xfuncproto.h> 331ab64890Smrg#include <X11/Xosdefs.h> 341ab64890Smrg 351ab64890Smrg#ifndef X_LOCALE 361ab64890Smrg#include <locale.h> 371ab64890Smrg#else 381ab64890Smrg 391ab64890Smrg#define LC_ALL 0 401ab64890Smrg#define LC_COLLATE 1 411ab64890Smrg#define LC_CTYPE 2 421ab64890Smrg#define LC_MONETARY 3 431ab64890Smrg#define LC_NUMERIC 4 441ab64890Smrg#define LC_TIME 5 451ab64890Smrg 461ab64890Smrg_XFUNCPROTOBEGIN 471ab64890Smrgextern char *_Xsetlocale( 481ab64890Smrg int /* category */, 491ab64890Smrg _Xconst char* /* name */ 501ab64890Smrg); 511ab64890Smrg_XFUNCPROTOEND 521ab64890Smrg 531ab64890Smrg#define setlocale _Xsetlocale 541ab64890Smrg 551ab64890Smrg#include <stddef.h> 561ab64890Smrg 571ab64890Smrg#endif /* X_LOCALE */ 581ab64890Smrg 59e9fcaa8aSmrg#endif /* _X11_XLOCALE_H_ */ 60