summaryrefslogtreecommitdiff
path: root/src/misc/ftw.c
blob: de01e39c804bbb065d5ac534bc674131428de53e (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <ftw.h>
#include "libc.h"

int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit)
{
	return nftw(path, (void *)fn, fd_limit, FTW_PHYS);
}

LFS64(ftw);