Skip to content

Instantly share code, notes, and snippets.

@shichao-an shichao-an/apue_malloc.h
Last active Aug 29, 2015

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
You can’t perform that action at this time.