Using opendir() with a filePro file name
Kenneth Brody
kenbrody at bestweb.net
Mon Apr 10 08:55:47 PDT 2006
Quoting Jay R. Ashworth (Mon, 10 Apr 2006 10:01:30 -0400):
> On Wed, Apr 05, 2006 at 11:20:36PM -0400, Fairlight wrote:
> > > where lc is a counter that begins at "3", so that I skip "." and
> > > "..".
> >
> > What makes you think . and .. are necessarily going to be entries 1
> > and 2?
>
> On a *nix system with standard semantics, if you walk the directory in
> unsorted order, they are in fact guaranteed to be entries 1 and 2:
> they're populated when the directory is created, atomically.
>
> I suspect SUS or SVID specifies this.
On the filesystems use by Windows, the root directory of each drive
does not have such entries.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list