man.bsd.lv manual page server

Manual Page Search Parameters

USELOCALE(3) Library Functions Manual USELOCALE(3)

uselocaleSets a thread-local locale

library “libc”

#include <locale.h>

locale_t
uselocale(locale_t locale);

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.

Returns the previous locale, or LC_GLOBAL_LOCALE if this thread has no locale associated with it.

duplocale(3), freelocale(3), localeconv(3), newlocale(3), querylocale(3), xlocale(3)

This function conforms to IEEE Std 1003.1-2008 (“POSIX.1”).

September 17, 2011 DragonFly-5.6.1