mojave man page for uselocale

Query: uselocale

OS: mojave

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

USELOCALE(3)						   BSD Library Functions Manual 					      USELOCALE(3)

NAME
uselocale -- Set the per-thread locale
SYNOPSIS
#include <xlocale.h> locale_t uselocale(locale_t loc);
DESCRIPTION
Sets the per-thread locale to loc. Specify LC_GLOBAL_LOCALE to turn off any per-thread locale. Pass NULL to return the current value of the per-thread locale (or LC_GLOBAL_LOCALE) without changing the locale.
RETURN VALUES
Returns the previous locale, or LC_GLOBAL_LOCALE if no per-thread locale was in effect.
SEE ALSO
duplocale(3), freelocale(3), newlocale(3), querylocale(3), xlocale(3)
BSD
March 11, 2005 BSD
Related Man Pages
duplocale(3) - linux
duplocale(3) - freebsd
uselocale(3) - plan9
uselocale(3) - v7
uselocale(3) - minix
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
My first PERL incarnation... Audio Oscillograph
Controlling user input
How can I direct messages from mac console.app to a log file?
[BASH] eval command not expanding variables as expected.