summaryrefslogtreecommitdiffstats
path: root/man3/memcmp.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/memcmp.39
1 files changed, 4 insertions, 5 deletions
diff --git a/man3/memcmp.3 b/man3/memcmp.3
index f3d94ea..76a8934 100644
--- a/man3/memcmp.3
+++ b/man3/memcmp.3
@@ -8,7 +8,7 @@
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 18:55:27 1993 by Rik Faith (faith@cs.unc.edu)
-.TH memcmp 3 2023-07-30 "Linux man-pages 6.05.01"
+.TH memcmp 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
memcmp \- compare memory areas
.SH LIBRARY
@@ -17,7 +17,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <string.h>
-.PP
+.P
.BI "int memcmp(const void " s1 [. n "], const void " s2 [. n "], size_t " n );
.fi
.SH DESCRIPTION
@@ -33,7 +33,7 @@ function returns an integer less than, equal to, or
greater than zero if the first \fIn\fP bytes of \fIs1\fP is found,
respectively, to be less than, to match, or be greater than the first
\fIn\fP bytes of \fIs2\fP.
-.PP
+.P
For a nonzero return value, the sign is determined by the sign of
the difference between the first pair of bytes (interpreted as
.IR "unsigned char" )
@@ -41,7 +41,7 @@ that differ in
.I s1
and
.IR s2 .
-.PP
+.P
If
.I n
is zero, the return value is zero.
@@ -59,7 +59,6 @@ T{
.BR memcmp ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY