delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/29/09:09:19

Date: Thu, 29 Jul 1999 11:07:52 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Michael Stewart <mike AT reggin DOT freeserve DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: getting all filename in sub-directory
In-Reply-To: <7nmecv$d5c$1@taliesin.netcom.net.uk>
Message-ID: <Pine.SUN.3.91.990729110627.25908L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 28 Jul 1999, Michael Stewart wrote:

> int __file_tree_walk(const char *dir, int (*func)(const char *path, const
> struct ffblk *ff));

This will of course also work, but note that __file_tree_walk is 
DJGPP-specific, so it's unportable.  `ftw' is better, although most 
DOS/Windows compilers don't have it and some Unix compilers don't have it 
either.

- Raw text -


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