Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save shichao-an/e4b320547e3c303af467 to your computer and use it in GitHub Desktop.

Select an option

Save shichao-an/e4b320547e3c303af467 to your computer and use it in GitHub Desktop.
#include <stdlib.h>
void *malloc(size_t size);
void *calloc(size_t nobj, size_t size);
void *realloc(void *ptr, size_t newsize);
/* All three return: non-null pointer if OK, NULL on error */
void free(void *ptr);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment