Manual Page Result
0
Command: duplocale | Section: 3 | Source: NetBSD | File: duplocale.3
DUPLOCALE(3) FreeBSD Library Functions Manual DUPLOCALE(3)
NAME
duplocale - duplicate an locale
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <locale.h>
locale_t
duplocale(locale_t locale);
DESCRIPTION
Duplicates an existing locale_t returning a new locale_t that refers to
the same locale values but has an independent internal state. The locale
returned by this call must be freed with freelocale(3).
SEE ALSO
freelocale(3), localeconv(3), newlocale(3)
STANDARDS
This function conforms to IEEE Std 1003.1-2008 ("POSIX.1").
FreeBSD 14.1-RELEASE-p8 February 15, 2021 FreeBSD 14.1-RELEASE-p8