Crinit -- Configurable Rootfs Init
mock-dirfd.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: MIT
6 #ifndef __MOCK_DIRFD_H__
7 #define __MOCK_DIRFD_H__
8 
9 #include <dirent.h>
10 #include <sys/types.h>
11 
17 int __wrap_dirfd(DIR *dirp); // NOLINT(readability-identifier-naming)
18  // Rationale: Naming scheme fixed due to linker wrapping.
19 
20 #endif /* __MOCK_DIRFD_H__ */
int __wrap_dirfd(DIR *dirp)
Definition: mock-dirfd.c:12