.\" 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 1993-04-10 "" "Linux Programmer's Manual"
+.TH MEMCMP 3 2011-09-14 "" "Linux Programmer's Manual"
.SH NAME
memcmp \- compare memory areas
.SH SYNOPSIS
.SH DESCRIPTION
The
.BR memcmp ()
-function compares the first \fIn\fP bytes of the
-memory areas \fIs1\fP and \fIs2\fP.
+function compares the first \fIn\fP bytes (each interpreted as
+.IR "unsigned char" )
+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.