GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of MEMCMP

MEMCMP

Index
 

NAME

memcmp - compare memory areas  

SYNOPSIS

#include <string.h>

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

DESCRIPTION

The fBmemcmp()fP function compares the first fInfP bytes of the memory areas fIs1fP and fIs2fP. It returns an integer less than, equal to, or greater than zero if fIs1fP is found, respectively, to be less than, to match, or be greater than fIs2fP.  

RETURN VALUE

The fBmemcmp()fP function returns an integer less than, equal to, or greater than zero if the first fInfP bytes of fIs1fP is found, respectively, to be less than, to match, or be greater than the first fInfP bytes of fIs2fP.  

CONFORMING TO

SVID 3, BSD 4.3, ISO 9899 (C99)  

SEE ALSO

bcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strncmp(3), strncasecmp(3), wmemcmp(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO