diff options
Diffstat (limited to 'man3/memcmp.3')
| -rw-r--r-- | man3/memcmp.3 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man3/memcmp.3 b/man3/memcmp.3 index 866e6de630..6d9975baea 100644 --- a/man3/memcmp.3 +++ b/man3/memcmp.3 @@ -35,13 +35,17 @@ memcmp \- compare memory areas .BI "int memcmp(const void *" s1 ", const void *" s2 ", size_t " n ); .fi .SH DESCRIPTION -The \fBmemcmp\fP() function compares the first \fIn\fP bytes of the +The +.BR memcmp () +function compares the first \fIn\fP bytes of the memory areas \fIs1\fP and \fIs2\fP. It returns an integer less than, equal to, or greater than zero if \fIs1\fP is found, respectively, to be less than, to match, or be greater than \fIs2\fP. .SH "RETURN VALUE" -The \fBmemcmp\fP() function returns an integer less than, equal to, or +The +.BR memcmp () +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. |
