summaryrefslogtreecommitdiff
path: root/src/ftw/__ftw.c
blob: 0f9b2f79935f11a36fb01347e116a81c2345facb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if 0

#include "_ftw.h"

int __ftw(const char *path, int (*fn)(), int fd_limit, int flags)
{
	struct FTW ft;
	struct stat st;
	int type = 0;

	int ret = (flags == __FTW_OLD) ? fn(path, &st, type) : fn(path, &st, type, &ft);

	return ret;
}


#endif