Next: nl_langinfo_l
, Previous: nice
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
nl_langinfo
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/nl_langinfo.html
Gnulib module: nl_langinfo
Portability problems fixed by Gnulib:
CODESET
is not supported on some platforms:
OpenBSD 3.8.
ALTMON_1
to ALTMON_12
are not defined on some
platforms:
glibc 2.26, musl libc, macOS 14, NetBSD 8.0, OpenBSD 6.7, AIX 7.2, HP-UX 11.31, Solaris 11.4, Haiku, Cygwin 2.9.
ERA
, ERA_D_FMT
, ERA_D_T_FMT
,
ERA_T_FMT
, ALT_DIGITS
are not supported on some platforms:
OpenBSD 6.7.
Portability problems not fixed by Gnulib:
nl_langinfo(CODESET)
always
returns "US-ASCII"
.
nl_langinfo(CRNCYSTR)
returns the
empty string, although the local currency symbol, as returned by
localeconv()->currency_symbol
, is non-empty.
nl_langinfo(ABMON_1)
... nl_langinfo(ABMON_12)
are full month
names, not abbreviated month names.