DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
mallocwrappers.cpp File Reference
#include <stdlib.h>
#include <unistd.h>
#include "dmtcp.h"
#include "alloc.h"

Go to the source code of this file.

Functions

EXTERNC int dmtcp_alloc_enabled ()
 
void * calloc (size_t nmemb, size_t size)
 
void * malloc (size_t size)
 
void * memalign (size_t boundary, size_t size)
 
int posix_memalign (void **memptr, size_t alignment, size_t size)
 
void * valloc (size_t size)
 
void free (void *ptr)
 
void * realloc (void *ptr, size_t size)
 

Function Documentation

void* calloc ( size_t  nmemb,
size_t  size 
)

Definition at line 29 of file mallocwrappers.cpp.

EXTERNC int dmtcp_alloc_enabled ( )

Definition at line 27 of file mallocwrappers.cpp.

void free ( void *  ptr)

Definition at line 69 of file mallocwrappers.cpp.

void* malloc ( size_t  size)

Definition at line 37 of file mallocwrappers.cpp.

void* memalign ( size_t  boundary,
size_t  size 
)

Definition at line 45 of file mallocwrappers.cpp.

int posix_memalign ( void **  memptr,
size_t  alignment,
size_t  size 
)

Definition at line 53 of file mallocwrappers.cpp.

void* realloc ( void *  ptr,
size_t  size 
)

Definition at line 76 of file mallocwrappers.cpp.

void* valloc ( size_t  size)

Definition at line 61 of file mallocwrappers.cpp.