summaryrefslogtreecommitdiff
path: root/gnulib/doc/posix-functions/mbrtowc.texi
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/doc/posix-functions/mbrtowc.texi')
m---------gnulib0
-rw-r--r--gnulib/doc/posix-functions/mbrtowc.texi44
2 files changed, 44 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/doc/posix-functions/mbrtowc.texi b/gnulib/doc/posix-functions/mbrtowc.texi
new file mode 100644
index 0000000..19b91f0
--- /dev/null
+++ b/gnulib/doc/posix-functions/mbrtowc.texi
@@ -0,0 +1,44 @@
+@node mbrtowc
+@section @code{mbrtowc}
+@findex mbrtowc
+
+POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/mbrtowc.html}
+
+Gnulib module: mbrtowc
+
+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, 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 fails if the @code{pwc} argument is NULL on some platforms:
+Solaris 7.
+@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 11 2010-11, mingw, possibly MSVC 9.
+@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
+On AIX and Windows platforms, @code{wchar_t} is a 16-bit type and therefore cannot
+accommodate all Unicode characters.
+@end itemize