mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* lib/stdlib.in.h (mbtowc): New declaration. * lib/mbtowc.c: New file. * lib/mbtowc-impl.h: New file, from libutf8 with modifications * m4/mbtowc.m4: New file. * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_MBTOWC, REPLACE_MBTOWC. * modules/stdlib (Makefile.am): Substitute GNULIB_MBTOWC, REPLACE_MBTOWC. * modules/mbtowc: New file. * tests/test-stdlib-c++.cc: Test signature of mbtowc. * doc/posix-functions/mbtowc.texi: Mention the new module. * modules/btowc (Depends-on): Add mbtowc.
22 lines
563 B
Plaintext
22 lines
563 B
Plaintext
@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
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@item
|
|
This function accumulates hidden state on some platforms:
|
|
glibc 2.8 (see @url{http://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
|