Instantly share code, notes, and snippets.

Embed
What would you like to do?
#include <string.h>
void *memset(void *dest, int c, size_t len);
void *memcpy(void *dest, const void *src, size_t nbytes);
int memcmp(const void *ptr1, const void *ptr2, size_t nbytes);
/* Returns: 0 if equal, <0 or >0 if unequal (see text) */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment