www.delorie.com/archives/browse.cgi | search |
From: | "Tom St Denis" <tomstdenis AT yahoo DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <980qkc$lj0$1 AT pegasus DOT tiscalinet DOT it> |
Subject: | Re: directory&files |
Lines: | 14 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.50.4522.1200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
Message-ID: | <9fTo6.27676$c7.8015530@news3.rdc1.on.home.com> |
Date: | Mon, 05 Mar 2001 21:08:21 GMT |
NNTP-Posting-Host: | 24.112.8.23 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news3.rdc1.on.home.com 983826501 24.112.8.23 (Mon, 05 Mar 2001 13:08:21 PST) |
NNTP-Posting-Date: | Mon, 05 Mar 2001 13:08:21 PST |
Organization: | Excite AT Home - The Leader in Broadband http://home.com/faster |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Abacuc" <f DOT onorati AT tiscalinet DOT it> wrote in message news:980qkc$lj0$1 AT pegasus DOT tiscalinet DOT it... > How can i distinguish a file or a directory? And how can I know the > extensions of the files (exe, com, jpg, etc.)? Well you can "fopen" a file not a directory... hmm... There is no ISO-C method for what you are asking. If you are making DJGPP specific requests research the "findfirst/findnext" functions. Tom
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |