]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/memeq.3: Add page
authorAlejandro Colomar <alx@kernel.org>
Thu, 18 Sep 2025 16:08:15 +0000 (18:08 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 20 Sep 2025 19:43:40 +0000 (21:43 +0200)
Link: <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3617.txt>
Link: <https://gitweb.git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commit;h=60b0949c939013bd8275fd9e6227014096d7c264>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/memeq.3 [new file with mode: 0644]

diff --git a/man/man3/memeq.3 b/man/man3/memeq.3
new file mode 100644 (file)
index 0000000..518a9f8
--- /dev/null
@@ -0,0 +1,56 @@
+'\" t
+.\" Copyright, the authors of the Linux man-pages project
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.TH memeq 3 (date) "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)