Mail Archives: djgpp/1998/07/28/01:56:46
Eli Zaretskii wrote:
>
> On Sat, 25 Jul 1998, Emad Boctor wrote:
>
> > I have a very useful piece of code that was written in DJGPP. It
> > contains a function called ftw() which I think traverses a directory
> > tree. Does anyone have any documentation on this?
>
> `ftw' is fully documented in the DJGPP library reference. From the
> DOS prompt, type "info libc alpha ftw" and read there.
>
> > Is there an equivalent function in Borland C++ or VC++?
>
> To the best of my knowledge, neither of these two support `ftw'.
> `ftw' is included for compatibility with Unix compilers.
In which case, its location in the source archive in `libc/dos/dir' is
rather inappropriate. Should it go instead in the `compat' tree?
> However, since the sources of DJGPP's library are free, you could just
> download djlsr201.zip and compile the sources of `ftw' with any other
> compiler.
But it will have to support `opendir' and friends, and I believe
Borland, for one, does not.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -