mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* modules/memchr-obsolete: New file. * m4/memchr-obsolete.m4: New file. * m4/memchr.m4 (gl_FUNC_MEMCHR): Don't check whether memchr exists if gl_FUNC_MEMCHR_OBSOLETE is not also defined. * modules/memchr (Depends-on): Add memchr-obsolete. * modules/strnlen (Depends-on): Likewise. * doc/posix-functions/memchr.texi: Mention module memchr-obsolete.
25 lines
637 B
Plaintext
25 lines
637 B
Plaintext
@node memchr
|
|
@section @code{memchr}
|
|
@findex memchr
|
|
|
|
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/memchr.html}
|
|
|
|
Gnulib module: memchr or memchr-obsolete
|
|
|
|
Portability problems fixed by either Gnulib module @code{memchr} or @code{memchr-obsolete}:
|
|
@itemize
|
|
@item
|
|
This function dereferences too much memory on some platforms:
|
|
glibc 2.10 on x86_64, IA-64; glibc 2.11 on Alpha.
|
|
@end itemize
|
|
|
|
Portability problems fixed by Gnulib module @code{memchr-obsolete}:
|
|
@itemize
|
|
@item
|
|
This function is missing on some older platforms.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|