Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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