data_structures
Functions
ds_xmalloc.c File Reference
#include "utils.h"
#include <stdlib.h>
+ Include dependency graph for ds_xmalloc.c:

Go to the source code of this file.

Functions

void * ds_xmalloc (size_t size)
 Replicates behaviour of malloc from libc, but fails on memory allocation errors. More...
 

Function Documentation

◆ ds_xmalloc()

void* ds_xmalloc ( size_t  size)

Replicates behaviour of malloc from libc, but fails on memory allocation errors.

Definition at line 22 of file ds_xmalloc.c.