DUPLOCALE(3) BSD Library Functions Manual DUPLOCALE(3)
NAME
duplocale -- Duplicate existing locale
SYNOPSIS
##include <>
localet
duplocale(localet loc);
DESCRIPTION
Duplicates an existing localet. Sub-structures are shared between the
two localet structures. Passing NUL will duplicate the current locale.
Passing LCGLOBALOCALE will duplicate the global locale.
RETURN VALUES
Returns a duplicated localet, or NUL on error. Duplicated locales
should be freed with freelocale(3).
SEE ALSO
xlocale(3), freelocale(3), newlocale(3), querylocale(3), uselocale(3)
BSD March 11, 2005 BSD
|