Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 1997 12:47:14 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        reichert@numachi.com (Brian Reichert)
Subject:   Re: Probably an XFree question, but...
Message-ID:  <19970920124714.JQ07978@uriah.heep.sax.de>
In-Reply-To: <19970919164234.25786@numachi.com>; from Brian Reichert on Sep 19, 1997 16:42:34 -0400
References:  <19970919164234.25786@numachi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Brian Reichert wrote:

> In <X11/Xlocale.h>, we see
> 
> _XFUNCPROTOBEGIN
> extern char *_Xsetlocale(
> #if NeedFunctionPrototypes
>     int /* category */,
>     _Xconst char* /* name */
> #endif
> );
> _XFUNCPROTOEND 
> 
> #define setlocale _Xsetlocale
> 
> yet I cannot find any symbol with the name '_Xsetlocale' in any of
> the X libreabries, not are there any further references in any of
> X's headers.

It will only get into effect if X_LOCALE is defined.  X_LOCALE is only
defined for platforms that don't have a usable own locale
implementation.  FreeBSD does.  See xc/lib/X11/SetLocale.c for the
implementation details (in the X11 tree, of course :).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970920124714.JQ07978>