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

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

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

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

Go to the source code of this file.

Functions

void * __wrap_realloc (void *ptr, size_t size)
 

Detailed Description

Header declaring a mock function for realloc().

Function Documentation

◆ __wrap_realloc()

void* __wrap_realloc ( void *  ptr,
size_t  size 
)

Mock function for realloc().

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