*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> memcmp (3)              
Title
Content
Arch
Section
 

MEMCMP(3)

Contents


NAME    [Toc]    [Back]

       memcmp - compare memory areas

SYNOPSIS    [Toc]    [Back]

       #include <string.h>

       int memcmp(const void *s1, const void *s2, size_t n);

DESCRIPTION    [Toc]    [Back]

       The memcmp() function compares the first n bytes of the memory areas s1
       and s2.	It returns an integer less than, equal	to,  or  greater  than
       zero  if  s1  is  found, respectively, to be less than, to match, or be
       greater than s2.

RETURN VALUE    [Toc]    [Back]

       The memcmp() function returns  an  integer  less  than,	equal  to,  or
       greater than zero if the first n bytes of s1 is found, respectively, to
       be less than, to match, or be greater than the first n bytes of s2.

CONFORMING TO    [Toc]    [Back]

       SVID 3, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

      
      
       bcmp(3),  strcasecmp(3),  strcmp(3),  strcoll(3),   strncmp(3),	 strn-
       casecmp(3)



				  1993-04-10			     MEMCMP(3)
[ Back ]
 Similar pages
Name OS Title
volrootmir Tru64 Creates mirror of areas necessary for booting on a new disk
glxchannelrectsyncsgix IRIX configures the system to update video input areas on complete swap buffers of bound xwids
strncmp OpenBSD compare strings
rcsdiff IRIX compare RCS revisions
strncmp NetBSD compare strings
cmp IRIX compare two files
rcsdiff OpenBSD compare RCS revisions
strcmp FreeBSD compare strings
rcsdiff Tru64 compare RCS revisions
rcsdiff FreeBSD compare RCS revisions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service