Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Created June 19, 2015 01:50
Show Gist options
  • Save shichao-an/c229d6cc4ac8d310567b to your computer and use it in GitHub Desktop.
Save shichao-an/c229d6cc4ac8d310567b to your computer and use it in GitHub Desktop.
#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