where's the UNIX walker

Mumit Khan khan@xraylith.wisc.edu
Tue Sep 15 00:24:00 GMT 1998

"K M" <unixguru68@hotmail.com> writes:
> I've downloaded and installed the latest( B19) GNU tools and
> things seem to be fine; however, when I try to compile a UNIX
> program that calls ftw(),gcc can't find ftw.h. I can't locate
> any refernce tp ftw in the distribution at all.
> Where is ftw or how can I get someting like this to compile?

Quite possibly because ftw is neither ANSI nor POSIX. You can always 
use opendir(), readdir() etc which are part of POSIX and essentially
get the same behaviour (you have to code the recursion yourself, but
that's quite trivial).

I understand that Unix95 spec does have some variant of ftw (nftw?), 
and if that's the case, then it may show up in newlib in the future.


For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

More information about the Cygwin mailing list