Maps malloc(), free(), etc to tm_malloc(), etc. More...
#include <stdlib.h>
#include "tm.h"
Go to the source code of this file.
Functions | |
void * | malloc (size_t s) |
void * | realloc (void *p, size_t s) |
void | free (void *p) |
void * | calloc (size_t s1, size_t s2) |
Maps malloc(), free(), etc to tm_malloc(), etc.
Definition in file malloc.c.
void* calloc | ( | size_t | s1, | |
size_t | s2 | |||
) |
Definition at line 29 of file malloc.c.
References tm_alloc().
00030 { 00031 return tm_alloc(s1 * s2); 00032 }
void free | ( | void * | p | ) |
void* malloc | ( | size_t | s | ) |
Definition at line 11 of file malloc.c.
References tm_alloc().
00012 { 00013 return tm_alloc(s); 00014 }
void* realloc | ( | void * | p, | |
size_t | s | |||
) |
Definition at line 17 of file malloc.c.
References tm_realloc().
00018 { 00019 return tm_realloc(p, s); 00020 }