duplocale(3) mojave man page | unix.com

Man Page: duplocale

Operating Environment: mojave

Section: 3

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(3p) - posix
duplocale(3) - plan9
duplocale(3) - v7
duplocale(3) - x11r4
duplocale(3) - minix
Similar Topics in the Unix Linux Community
Update: Uploading Movies at Attachments to Posts
12-Core MacPro (2013) kernel_task over 1200%
Cannot extract libraries using sed
How can I direct messages from mac console.app to a log file?
[BASH] eval command not expanding variables as expected.