summaryrefslogtreecommitdiff
path: root/doc/posix-functions/memcmp.texi
blob: 204208cb0b04aeeb27936e439a29350f6b99d385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@node memcmp
@section @code{memcmp}
@findex memcmp

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/memcmp.html}

Gnulib module: memcmp

Portability problems fixed by Gnulib:
@itemize
@item
This function fails when comparing 16 bytes or more and with at least one
buffer not starting on a 4-byte boundary on some older platforms:
NeXTstep/x86.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
This function produces wrong results when the arguments are constant strings
and the compiler is clang 6.0.1.
@end itemize

Return to:

Send suggestions and report system problems to the System administrator.