X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-functions%2Fmbrtowc.texi;h=8e19b36e9f46b605fb5b1797a4dfcc9fd69367e5;hb=78d218ff8a7c36feaa55c58abdcec8270654e6f1;hp=29445d4923e9af784248c46eb7e4f691bfccc2e7;hpb=09ef7461110822a3970aa8eebcfaa740996a82f2;p=gnulib.git diff --git a/doc/posix-functions/mbrtowc.texi b/doc/posix-functions/mbrtowc.texi index 29445d492..8e19b36e9 100644 --- a/doc/posix-functions/mbrtowc.texi +++ b/doc/posix-functions/mbrtowc.texi @@ -4,18 +4,38 @@ POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mbrtowc.html} -Gnulib module: --- +Gnulib module: mbrtowc Portability problems fixed by Gnulib: @itemize +@item +This function is missing on some platforms: +HP-UX 11.00, IRIX 6.5, Solaris 2.6, mingw, Interix 3.5. +@item +This function does not put the state into non-initial state when parsing an +incomplete multibyte character on some platforms: +AIX 5.1, OSF/1 5.1. +@item +This function does not produce correct results in the zh_CN.GB18030 locale on +some platforms: +Solaris 8. +@item +This function does not ignore the @code{pwc} argument if the string argument is +NULL on some platforms: +OSF/1 5.1. +@item +This function returns the total number of bytes that make up the multibyte +character, not the number of bytes that were needed to complete the multibyte +character, on some platforms: +HP-UX 11.11, Solaris 10. +@item +This function may not return 0 when parsing the NUL character on some platforms: +Solaris 9. @end itemize Portability problems not fixed by Gnulib: @itemize @item -This function is missing on some platforms: -HP-UX 11, IRIX 6.5, Solaris 2.6, mingw, Interix 3.5. -@item -On Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot +On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. @end itemize