Functions

mem.c File Reference

Main definitions for memory manager. More...

#include <stdio.h>
#include <stdlib.h>
#include "../config.h"
#include "../dprint.h"
#include "../globals.h"
#include "mem.h"
Include dependency graph for mem.c:

Go to the source code of this file.

Functions


Detailed Description

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

Definition in file mem.c.


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.