USELOCALE(3) BSD Library Functions Manual USELOCALE(3)
NAME
uselocale -- Set the per-thread locale
SYNOPSIS
##include <>
localet
uselocale(localet loc);
DESCRIPTION
Sets the per-thread locale to loc. Specify LCGLOBALOCALE to turn off
any per-thread locale. Pass NUL to return the current value of the per-
thread locale (or LCGLOBALOCALE) without changing the locale.
RETURN VALUES
Returns the previous locale, or LCGLOBALOCALE if no per-thread locale
was in effect.
SEE ALSO
xlocale(3), duplocale(3), freelocale(3), newlocale(3), querylocale(3)
BSD March 11, 2005 BSD
|