Ubuntu – Understanding the return from memcmp
I wrote a function to simulate memcmp, and during testing I realized there is something unusual about memcmp. The source code for the library function is supposed to be: #include <ansidecl.h> #include <stddef.h> int memcmp(const void *str1, const void *str2,…