osx man page for duplocale

Query: duplocale

OS: osx

Section: 3

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

DUPLOCALE(3)						   BSD Library Functions Manual 					      DUPLOCALE(3)

NAME
duplocale -- Duplicate existing locale
SYNOPSIS
#include <xlocale.h> locale_t duplocale(locale_t loc);
DESCRIPTION
Duplicates an existing locale_t. Sub-structures are shared between the two locale_t structures. Passing NULL will duplicate the current locale. Passing LC_GLOBAL_LOCALE will duplicate the global locale.
RETURN VALUES
Returns a duplicated locale_t, or NULL on error. Duplicated locales should be freed with freelocale(3).
SEE ALSO
freelocale(3), newlocale(3), querylocale(3), uselocale(3), xlocale(3)
BSD
March 11, 2005 BSD
Related Man Pages
duplocale(3) - linux
newlocale(3) - mojave
newlocale(3) - osx
duplocale(3) - freebsd
duplocale(3) - php
Similar Topics in the Unix Linux Community
AIX Links
Hearing Aid for OSX 10.12.x and greater.
To print diamond asterisk pattern based on inputs
My first PERL incarnation... Audio Oscillograph