Mercurial > hg > octave-shane > gnulib-hg
annotate doc/glibc-functions/strnlen.texi @ 9999:5f559abfabef
Add rawmemchr module, matching glibc.
* modules/string (Makefile.am): New indicator.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
* lib/string.in.h (rawmemchr): Declare when appropriate.
* modules/rawmemchr: New file.
* m4/rawmemchr.m4: Likewise.
* lib/rawmemchr.c: Likewise.
* modules/rawmemchr-tests: Likewise.
* tests/test-rawmemchr.c: Likewise.
* doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
module.
* modules/strchrnul (Depends-on): Add rawmemchr.
* lib/strchrnul.c (strchrnul): Optimize a corner case.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Mon, 28 Apr 2008 17:08:43 -0600 |
parents | 3a9052fb8e95 |
children | ab877c995f41 |
rev | line source |
---|---|
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node strnlen |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @subsection @code{strnlen} |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 @findex strnlen |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 Gnulib module: --- |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 Portability problems fixed by Gnulib: |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 @itemize |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 @end itemize |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 Portability problems not fixed by Gnulib: |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 @itemize |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 @item |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 This function is missing on some platforms: |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 MacOS X 10.3, FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, AIX 4.3.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw, Interix 3.5. |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 @end itemize |