| DUPLOCALE(3) | Library Functions Manual | DUPLOCALE(3) |
duplocale —
duplicate a locale
Standard C Library (libc, -lc)
#include
<locale.h>
locale_t
duplocale(locale_t
locale);
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).
This function conforms to IEEE Std 1003.1-2008 (“POSIX.1”).
| February 15, 2021 | NetBSD 11.0 |