Rename two directories: headers -> posix-headers, functions -> posix-functions.
[gnulib.git] / doc / posix-functions / strcspn.texi
diff --git a/doc/posix-functions/strcspn.texi b/doc/posix-functions/strcspn.texi
new file mode 100644 (file)
index 0000000..585df87
--- /dev/null
@@ -0,0 +1,21 @@
+@node strcspn
+@section @code{strcspn}
+@findex strcspn
+
+POSIX specification: @url{http://www.opengroup.org/susv3xsh/strcspn.html}
+
+Gnulib module: strcspn
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function is missing on some old platforms.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This function cannot work correctly on character strings in multibyte locales.
+Gnulib provides an alternative function @code{mbscspn} that works on character
+strings in all locales.
+@end itemize