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

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

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

#include <dirent.h>
#include <sys/types.h>
Include dependency graph for mock-opendir.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

DIR * __wrap_opendir (const char *name)
 

Detailed Description

Header declaring 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.