www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/20/17:46:24

From: "Erik L. Jensen" <eljensen AT online DOT no>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 1 bug(?) open/readdir & glob
Date: 20 Sep 1996 20:25:45 GMT
Organization: Telenor Online Public Access
Lines: 18
Message-ID: <01b60b88$d68ba0c0$9000d6c1@bigpapa>
References: <9609201747 DOT AA09431 AT ponder>
NNTP-Posting-Host: oslo802.telepost.no
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> 
> 
> > In djgpp it really doesn't matter whether you'll use findfirst/findnext
or
> > readdir. readdir() uses find... anyway.
> 
> Yes, It doesnt matter , but the problem is why you mentioned about it.
> 
> 

Infact, it does matter if you want to quickly get hold of information like
file size, attributes etc.
A readir() followed by stat() is much more complicated (try going throug
the stat() code) and
does little more than findxxx anyway..

-Erik-

- Raw text -


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