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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
'\" t
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH memeq 3 2025-09-20 "Linux man-pages (unreleased)"
.SH NAME
memeq \- memory equal
.SH LIBRARY
gnulib \- The GNU Portability Library
.SH SYNOPSIS
.nf
.B #include <string.h>
.P
.BI "bool memeq(const void *" m1 ", const void *" m2 ", size_t " n );
.fi
.SH DESCRIPTION
.BR memeq ()
determines whether the first
.I n
bytes of the memory areas pointed to by
.I m1
and
.I m2
are equal.
.SH RETURN VALUE
.BR memeq ()
returns true if and only if the first
.I n
bytes of the memory areas pointed to by
.I m1
and
.I m2
are equal.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
.na
.nh
.BR memeq ()
T} Thread safety MT-Safe
.TE
.SH STANDARDS
GNU.
.SH HISTORY
gnulib 202601.
.SH SEE ALSO
.BR streq (3),
.BR memcmp (3),
.BR string (3)
|