@node getlocalename_l
@subsection @code{getlocalename_l}
@findex getlocalename_l

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

Gnulib module: getlocalename_l-simple
@mindex getlocalename_l-simple

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many platforms:
glibc 2.42, macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.3.0, AIX 7.3.1, HP-UX 11.31, Solaris 11.4, Cygwin 3.5.x, mingw, MSVC 14, Android 9.0.
But the gnulib replacement supports only a single locale category:
the argument @code{LC_ALL} is unsupported.
@item
This function returns an invalid pointer
when the second argument is @code{LC_GLOBAL_LOCALE},
on some platforms:
@c https://cygwin.com/pipermail/cygwin/2025-March/257715.html
Cygwin 3.6.0.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function supports only a single locale category,
i.e. the argument @code{LC_ALL} is unsupported,
on some platforms:
@c https://cygwin.com/pipermail/cygwin/2025-March/257715.html
Cygwin 3.6.0.
@end itemize
