Hash :
5ae6f38b
Author :
Date :
2023-06-28T18:28:23
mbrtoc16: New module. * lib/uchar.in.h (mbrtoc16): New declaration. * lib/mbrtoc16.c: New file. * m4/mbrtoc16.m4: New file, based on m4/mbrtoc32.m4. * modules/mbrtoc16: New file. * m4/uchar_h.m4 (gl_UCHAR_H): Test whether mbrtoc16 is declared. (gl_UCHAR_H_REQUIRE_DEFAULTS): Initialize GNULIB_MBRTOC16. (gl_UCHAR_H_DEFAULTS): Initialize HAVE_MBRTOC16, REPLACE_MBRTOC16. * modules/uchar (Makefile.am): Substitute GNULIB_MBRTOC16, HAVE_MBRTOC16, REPLACE_MBRTOC16. * doc/posix-functions/mbrtoc16.texi: Mention the mbrtoc16 module and the mbsinit related limitation. * doc/posix-functions/mbsinit.texi: Mention the mbrtoc16 related limitation.
@node mbsinit
@section @code{mbsinit}
@findex mbsinit
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/mbsinit.html}
Gnulib module: mbsinit
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, HP-UX 11.00, IRIX 6.5, MSVC 14.
@item
This function always returns 1, even in multibyte locales, on some platforms:
mingw.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
@c https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272218
This function is not useful after calls to @code{mbrtoc16} or @code{mbrtoc8}.
@end itemize