Date: Thu, 29 Jul 1999 11:07:52 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Michael Stewart 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.