view doc/posix-functions/mbtowc.texi @ 40133:11b97647fb11

mbtowc: Fix compilation error on Android 4.3. * lib/stdlib.in.h (mbtowc): Test also HAVE_MBTOWC. * m4/mbtowc.m4 (gl_FUNC_MBTOWC): Test whether mbtowc exists. Set HAVE_MBTOWC. * m4/stdlib_h.m4 (gl_STDLIB_H): Test whether mbtowc is declared. (gl_STDLIB_H_DEFAULTS): Initialize HAVE_MBTOWC. * modules/stdlib (Makefile.am): Substitute HAVE_MBTOWC. * modules/mbtowc (Depends-on, configure.ac): Test also HAVE_MBTOWC. * doc/posix-functions/mbtowc.texi: Mention the change.
author Bruno Haible <bruno@clisp.org>
date Fri, 25 Jan 2019 00:42:40 +0100
parents 0f6b0bb3cee9
children
line wrap: on
line source

@node mbtowc
@section @code{mbtowc}
@findex mbtowc

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mbtowc.html}

Gnulib module: mbtowc

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Android 4.4.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function accumulates hidden state on some platforms:
glibc 2.8 (see @url{https://sourceware.org/bugzilla/show_bug.cgi?id=9674}).
@item
On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot
accommodate all Unicode characters.
@end itemize