uselocale3
Sets a thread-local locale
Usage
#include <locale.h>
locale_t
uselocale(locale_t locale);
Library
Standard C Library (libc, -lc)
Overview
Specifies the locale for this thread to use. Specifying LC_GLOBAL_LOCALE disables the per-thread locale, while NULL returns the current locale without setting a new one.
Return values
Returns the previous locale, or LC_GLOBAL_LOCALE if this thread has no locale associated with it.
Releases
33 releases since FreeBSD 9.1-RELEASE; the text changed 19 times.