aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/generic/ftw-stubs.cpp
blob: 2d939954c960ee08f84b30b20ac7fcd93ab2ced3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include <ftw.h>

#include <bits/ensure.h>

int ftw(const char *, int (*fn)(const char *, const struct stat *, int), int) {
	(void)fn;
	__ensure(!"ftw() not implemented");
	__builtin_unreachable();
}

int nftw(const char *, int (*fn)(const char *, const struct stat *, int, struct FTW *),
		int, int) {
	(void)fn;
	__ensure(!"nftw() not implemented");
	__builtin_unreachable();
}