Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
mock-dirfd.h File Reference

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

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

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

Go to the source code of this file.

Functions

int __wrap_dirfd (DIR *dirp)
 

Detailed Description

Header declaring a mock function for dirfd().

Function Documentation

◆ __wrap_dirfd()

int __wrap_dirfd ( DIR *  dirp)

Mock function for dirfd().

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