Sender: nate AT cartsys DOT com Message-ID: <35BD558A.2F748837@cartsys.com> Date: Mon, 27 Jul 1998 21:37:30 -0700 From: Nate Eldredge MIME-Version: 1.0 To: Eli Zaretskii CC: Emad Boctor , djgpp AT delorie DOT com Subject: Re: Does any body know about ftw() in djgpp? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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