delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/28/01:56:46

Sender: nate AT cartsys DOT com
Message-ID: <35BD558A.2F748837@cartsys.com>
Date: Mon, 27 Jul 1998 21:37:30 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: Emad Boctor <eboctor AT interlog DOT com>, djgpp AT delorie DOT com
Subject: Re: Does any body know about ftw() in djgpp?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980726122833 DOT 26387Z-100000 AT is>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019