malloc.c File Reference

#include "config.h"
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/sysmacros.h>
#include "umem_base.h"
#include "misc.h"

Classes

struct  malloc_data

Typedefs

typedef struct malloc_data malloc_data_t

Functions

void * malloc (size_t size_arg)
void * calloc (size_t nelem, size_t elsize)
void * memalign (size_t align, size_t size_arg)
void * valloc (size_t size)
void free (void *buf)
void * realloc (void *buf_arg, size_t newsize)
void __attribute__ ((constructor))

Typedef Documentation

typedef struct malloc_data malloc_data_t


Function Documentation

void __attribute__ ( (constructor)   ) 

References umem_startup().

void* calloc ( size_t  nelem,
size_t  elsize 
)

References malloc().

void free ( void *  buf  ) 

Referenced by main(), and realloc().

void* malloc ( size_t  size_arg  ) 

void* memalign ( size_t  align,
size_t  size_arg 
)

void* realloc ( void *  buf_arg,
size_t  newsize 
)

References free(), malloc(), and MIN.

void* valloc ( size_t  size  ) 

References memalign(), and pagesize.


Generated on Wed Jul 30 10:33:56 2008 for umem by  doxygen 1.5.6