Defines | Functions

mem.h File Reference

Main definitions for memory manager. More...

#include "../config.h"
#include "../dprint.h"
#include <stdlib.h>
#include "memdbg.h"
Include dependency graph for mem.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

Functions


Detailed Description

Main definitions for memory manager, like malloc, free and realloc

Definition in file mem.h.


Function Documentation

int init_pkg_mallocs ( void   ) 
Returns:
0 if the memory allocation was successful, -1 otherwise

Definition at line 68 of file mem.c.

References fm_malloc_init().

Here is the call graph for this function:

int init_shm_mallocs ( int  force_alloc  ) 
Parameters:
force_alloc Force allocation of memory, e.g. initialize complete block with zero
Returns:
0 if the memory allocation was successful, -1 otherwise

Definition at line 121 of file mem.c.