delorie.com/archives/browse.cgi | search |
Date: | Sun, 22 Sep 1996 09:19:44 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | "Erik L. Jensen" <eljensen AT online DOT no> |
Cc: | djgpp AT delorie DOT com |
Subject: | Re: 1 bug(?) open/readdir & glob |
In-Reply-To: | <01b60b88$d68ba0c0$9000d6c1@bigpapa> |
Message-Id: | <Pine.SUN.3.91.960922091754.8588Q-100000@is> |
Mime-Version: | 1.0 |
On 20 Sep 1996, Erik L. Jensen wrote: > A readir() followed by stat() is much more complicated (try going throug > the stat() code) and > does little more than findxxx anyway.. `stat' does *much* more than this. However, if you want only the basic info that findfirst returns, and you want the source to be portable, you can use the `_djstat_bits' variable (described in the libc on-line docs) to make `stat' very fast.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |