Crinit -- Configurable Rootfs Init
mock-envset-init.c File Reference

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

Implementation of a mock function for crinitEnvSetInit(). More...

#include "mock-envset-init.h"
#include <stdio.h>
#include "envset.h"
#include "unit_test.h"
Include dependency graph for mock-envset-init.c:

Functions

int __wrap_crinitEnvSetInit (crinitEnvSet_t *es, size_t initSize, size_t sizeIncrement)
 

Detailed Description

Implementation of a mock function for crinitEnvSetInit().

Function Documentation

◆ __wrap_crinitEnvSetInit()

int __wrap_crinitEnvSetInit ( crinitEnvSet_t es,
size_t  initSize,
size_t  sizeIncrement 
)

Mock function for crinitEnvSetInit().

Checks that the right parameters are given and returns a preset value.