
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>memcmp</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
memcmp
======
Syntax
------
#include <string.h>
int memcmp(const void *s1, const void *s2, size_t num);
Description
-----------
This function compares two regions of memory, at S1 and S2, for NUM
bytes.
Return Value
------------
zero
s1 == s2
positive
s1 > s2
negative
s1 < s2
Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson