Message-ID: <379CA339.3E62EA5E@pmail.net> Date: Mon, 26 Jul 1999 20:04:41 +0200 From: Fredrick Backman X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Linux Directory Tree Browsing References: <99072611193301 DOT 00753 AT Sparky DOT calderathin DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com That quesion would probably fit better into one of the Linux newsgroups or comp.lang.c, but I'll give you an answer anyway.... There is no standard call do do this but it is not that difficult to write a simple one which will do just what you wanted. K&R's book on C has the actual code to do it (Brian W. Kernighan and Dennis M. Ritchie's "The C Programming Language" that is). There are other ways to do it too, one very ugly way is to do use system() or similar, and this is highly recommended if you want people to laugh at your code. Jared Stevens wrote: > This is a bit off topic, but.... > Is there a way with the GCC compiler under linux to 'browse' the directory tree? > -- > Jared Stevens -- Fred Backman Lead Wizard Binary Spells www.femmefetish.com/games/