![]() -> Click here to learn how to get live help <- |
MEMCMPIndexNAMEmemcmp - compare memory areasSYNOPSIS#include <string.h> int memcmp(const void *s1, const void *s2, size_t n); DESCRIPTIONThe 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 VALUEThe 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 TOSVID 3, BSD 4.3, ISO 9899 (C99)SEE ALSObcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strncmp(3), strncasecmp(3), wmemcmp(3)
Index |