Mercurial > hg > octave-shane > gnulib-hg
annotate doc/glibc-functions/memmem.texi @ 9636:fac8d34097f1
Incorporate existing memmem doc into new doc structure.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 19 Jan 2008 12:59:00 +0100 |
parents | 3a9052fb8e95 |
children | 5be97759685c |
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: |
fac8d34097f1
Incorporate existing memmem doc into new doc structure.
Bruno Haible <bruno@clisp.org>
parents:
9635
diff
changeset
|
27 glibc 2.6.1, 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 |