Posix defines in ftw.h a structure FTW like this (source):
ftw.h
FTW
The header shall define the FTW