The uselocale() function shall set the locale for the calling thread to the locale specified by newloc.
If newloc is the value
the thread's locale shall be set to the process current
global locale, as set
If newloc is
thread's locale is not altered.
The uselocale() function shall return the previous locale,
LC_GLOBAL_LOCALE if the thread local locale
has not been previously set.