umem  1.0.1
Classes | Typedefs | Functions
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

◆ malloc_data_t

typedef struct malloc_data malloc_data_t

Function Documentation

◆ __attribute__()

void __attribute__ ( (constructor)  )

References umem_startup().

◆ calloc()

void* calloc ( size_t  nelem,
size_t  elsize 
)

References malloc().

◆ free()

void free ( void *  buf)

◆ malloc()

void* malloc ( size_t  size_arg)

◆ memalign()

void* memalign ( size_t  align,
size_t  size_arg 
)

◆ realloc()

void* realloc ( void *  buf_arg,
size_t  newsize 
)

References malloc().

◆ valloc()

void* valloc ( size_t  size)

References memalign(), and pagesize.