Crinit -- Configurable Rootfs Init
mock-scandir.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
6
#ifndef __MOCK_SCANDIR_H__
7
#define __MOCK_SCANDIR_H__
8
9
#include <dirent.h>
10
#include <sys/types.h>
11
17
int
__wrap_scandir
(
const
char
*dirp,
// NOLINT(readability-identifier-naming)
18
struct
dirent ***namelist,
int
(*filter)(
const
struct
dirent *),
19
int
(*compar)(
const
struct
dirent **,
const
struct
dirent **));
20
// Rationale: Naming scheme fixed due to linker wrapping.
21
22
#endif
/* __MOCK_SCANDIR_H__ */
__wrap_scandir
int __wrap_scandir(const char *dirp, struct dirent ***namelist, int(*filter)(const struct dirent *), int(*compar)(const struct dirent **, const struct dirent **))
Definition:
mock-scandir.c:12
test
utest
mocks
mock-scandir.h
Generated by
1.9.1