Mercurial > hg > octave-kai > gnulib-hg
annotate doc/glibc-functions/memmem.texi @ 10266:c0565d2cba32
Add isnanf module.
author | Ben Pfaff <blp@cs.stanford.edu> |
---|---|
date | Sat, 12 Jul 2008 10:46:03 -0700 |
parents | 5be97759685c |
children | 1d8a613275c6 |
rev | line source |
---|---|
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node memmem |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @subsection @code{memmem} |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 @findex memmem |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
9636
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
5 Gnulib module: memmem or memmem-simple |
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
9636
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
7 Portability problems fixed by either Gnulib module @code{memmem-simple} |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
8 or @code{memmem}: |
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 @itemize |
9636
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
10 @item |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
11 This function is missing on some platforms: |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
12 MacOS X 10.3, FreeBSD 5.2.1, OpenBSD 4.0, AIX 4.3.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw, Interix 3.5, BeOS. |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
13 @item |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
14 This function has reversed arguments on some older platforms: |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
15 Linux libc 5.0.9 |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
16 @end itemize |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
17 |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
18 Portability problems fixed by Gnulib module @code{memmem}: |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
19 @itemize |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
20 @item |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
21 This function returns incorrect values in some cases, such as when |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
22 given an empty needle: |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
23 glibc <= 2.0, Cygwin 1.5.x. |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
24 @item |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
25 This function has quadratic instead of linear worst-case complexity on some |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
26 platforms: |
10076
5be97759685c
Glibc finally accepted the memmem speedup code, bugzilla #5514.
Eric Blake <ebb9@byu.net>
parents:
9636
diff
changeset
|
27 glibc 2.8, FreeBSD 6.2, NetBSD 3.0, AIX 5.1, Cygwin 1.5.x. |
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 @end itemize |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
29 |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
30 Portability problems not fixed by Gnulib: |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
31 @itemize |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
32 @end itemize |