Crinit -- Configurable Rootfs Init
mock-calloc.h File Reference

(2023-10-16, commit: 49337e0)

Header declaring a mock function for calloc(). More...

#include <stddef.h>
Include dependency graph for mock-calloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void * __wrap_calloc (size_t num, size_t size)
 

Detailed Description

Header declaring a mock function for calloc().

Function Documentation

◆ __wrap_calloc()

void* __wrap_calloc ( size_t  num,
size_t  size 
)

Mock function for calloc().

Checks that the right parameters are given and return a preset pointer.