@node duplocale
@section @code{duplocale}
@findex duplocale

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/duplocale.html}

Gnulib module: duplocale

Portability problems fixed by Gnulib:
@itemize
@item
The argument @code{LC_GLOBAL_LOCALE} is not supported on some platforms:
glibc 2.11, AIX 7.1.
@item
With the argument @code{LC_GLOBAL_LOCALE}, this function returns a wrong result
on some platforms:
NetBSD 7.1.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function is missing on many platforms:
FreeBSD 9.0, NetBSD 5.0, OpenBSD 6.1, Minix 3.1.8, AIX 6.1, HP-UX 11, IRIX 6.5, Solaris 11.3, Cygwin 2.5.x, mingw, MSVC 14, Android 4.4.
@item
This function is useless because the @code{locale_t} type is not defined
on some platforms:
z/OS.
@item
With the argument @code{LC_GLOBAL_LOCALE}, this function returns a wrong result
on some platforms:
@c https://dev.haiku-os.org/ticket/18345
Haiku.
@end itemize
