Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
mock-opendir.c File Reference

(/usr/bin/git 2023-11-27, commit: bad6102)

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

#include "mock-opendir.h"
#include "unit_test.h"
Include dependency graph for mock-opendir.c:

Functions

DIR * __wrap_opendir (const char *name)
 

Detailed Description

Implementation of a mock function for opendir().

Function Documentation

◆ __wrap_opendir()

DIR * __wrap_opendir ( const char *  name)

Mock function for opendir().

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