Documentation about Minix.
[gnulib.git] / doc / posix-functions / nl_langinfo.texi
1 @node nl_langinfo
2 @section @code{nl_langinfo}
3 @findex nl_langinfo
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/nl_langinfo.html}
6
7 Gnulib module: nl_langinfo
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 Minix 3.1.8, mingw, BeOS.
14 @item
15 The constant @code{CODESET} is not supported on some platforms:
16 glibc 2.0.6, OpenBSD 3.8.
17 @item
18 The constants @code{ERA}, @code{ERA_D_FMT}, @code{ERA_D_T_FMT},
19 @code{ERA_T_FMT}, @code{ALT_DIGITS} are not supported on some platforms:
20 OpenBSD 3.8.
21 @item
22 The constants @code{T_FMT_AMPM}, @code{YESEXPR}, @code{NOEXPR} are not
23 supported on some platforms:
24 IRIX 5.3.
25 @item
26 The constants @code{YESEXPR} and @code{NOEXPR} do not return a valid
27 string on some platforms:
28 Irix 6.5.
29 @end itemize
30
31 Portability problems not fixed by Gnulib:
32 @itemize
33 @item
34 On Cygwin 1.5.x, which doesn't have locales, @code{nl_langinfo(CODESET)} always
35 returns @code{"US-ASCII"}.
36
37 @item
38 On Cygwin 1.7.0, only the charset portion of a locale designation is honored.
39
40 @item
41 On NetBSD 5.0, in some locales, @code{nl_langinfo(CRNCYSTR)} returns the
42 empty string, although the local currency symbol, as returned by
43 @code{localeconv()->currency_symbol}, is non-empty.
44 @end itemize