summaryrefslogtreecommitdiff
path: root/doc/posix-functions/memchr.texi
blob: 38d5b66df72b2700480e568a7cd0d4934bb3bd6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@node memchr
@section @code{memchr}
@findex memchr

POSIX specification:@* @url{https://pubs.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.
@item
This function returns NULL if the character argument is not in the range
of an @code{unsigned char} on some platforms:
Android 5.0.
@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

Return to:

Send suggestions and report system problems to the System administrator.