malloc.c File Reference

Maps malloc(), free(), etc to tm_malloc(), etc. More...

#include <stdlib.h>
#include "tm.h"
Include dependency graph for malloc.c:

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)

Detailed Description

Maps malloc(), free(), etc to tm_malloc(), etc.

Id
malloc.c,v 1.2 2002-05-11 02:33:27 stephens Exp

Definition in file malloc.c.


Function Documentation

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 }

Here is the call graph for this function:

void free ( void *  p  ) 

Definition at line 23 of file malloc.c.

References tm_free().

00024 {
00025   tm_free(p);
00026 }

Here is the call graph for this function:

void* malloc ( size_t  s  ) 

Definition at line 11 of file malloc.c.

References tm_alloc().

00012 {
00013   return tm_alloc(s);
00014 }

Here is the call graph for this function:

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 }

Here is the call graph for this function:


Generated on Mon Jan 25 06:33:12 2010 for TM(tredmill) by  doxygen 1.6.1