view doc/posix-headers/locale.texi @ 16718:e4aad6f843ed

locale: Provide a complete 'struct lconv' on Solaris 10, 11. * m4/locale_h.m4 (gl_LOCALE_H): On Solaris, define _LCONV_C99. * doc/posix-headers/locale.texi: Update.
author Bruno Haible <bruno@clisp.org>
date Sun, 25 Mar 2012 13:45:45 +0200
parents 474c0712e7aa
children 8d5d2ed0afb0
line wrap: on
line source

@node locale.h
@section @file{locale.h}

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html}

Gnulib module: locale

Portability problems fixed by Gnulib:
@itemize
@item
The definition of @samp{LC_MESSAGES} is missing on some platforms:
mingw, MSVC 9.

@item
The @code{locale_t} type is not defined on some platforms:
glibc 2.11, MacOS X 10.5.

@item
The @code{struct lconv} type does not contain any members on some platforms:
Android.

@item
The @code{struct lconv} type does not contain the members
@code{int_p_cs_precedes}, @code{int_p_sign_posn}, @code{int_p_sep_by_space},
@code{int_n_cs_precedes}, @code{int_n_sign_posn}, @code{int_n_sep_by_space}
on some platforms:
glibc, Solaris 11 2011-11.

@item
Some platforms provide a @code{NULL} macro that cannot be used in arbitrary
expressions:
NetBSD 5.0
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
The @code{struct lconv} type does not contain the members
@code{int_p_cs_precedes}, @code{int_p_sign_posn}, @code{int_p_sep_by_space},
@code{int_n_cs_precedes}, @code{int_n_sign_posn}, @code{int_n_sep_by_space}
on some platforms:
OpenBSD 4.9, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.5.x, mingw, MSVC 9.
@end itemize