summaryrefslogtreecommitdiff
path: root/doc/posix-functions/strstr.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-01-20 00:09:59 +0100
committerBruno Haible <bruno@clisp.org>2008-01-20 00:09:59 +0100
commit2b6c08c775ae4e80b52aa41058ea5939f778b44b (patch)
treeac9d11e47616b23a9c4feb5e5a19468008b8a770 /doc/posix-functions/strstr.texi
parente606e4f86f58f108829f84777e565eebd0a467e7 (diff)
downloadgnulib-2b6c08c775ae4e80b52aa41058ea5939f778b44b.tar.gz
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Diffstat (limited to 'doc/posix-functions/strstr.texi')
-rw-r--r--doc/posix-functions/strstr.texi23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/posix-functions/strstr.texi b/doc/posix-functions/strstr.texi
new file mode 100644
index 0000000000..417a035ef9
--- /dev/null
+++ b/doc/posix-functions/strstr.texi
@@ -0,0 +1,23 @@
+@node strstr
+@section @code{strstr}
+@findex strstr
+
+POSIX specification: @url{http://www.opengroup.org/susv3xsh/strstr.html}
+
+Gnulib module: strstr
+
+Portability problems fixed by Gnulib:
+@itemize
+@item
+This function has quadratic instead of linear worst-case complexity on some
+platforms:
+glibc 2.6.1, MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw.
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This function cannot work correctly on character strings in most multibyte
+locales. Gnulib provides an alternative function @code{mbsstr} that works
+on character strings in all locales.
+@end itemize