www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/20/16:37:02

Date: Sat, 20 May 2000 16:36:55 -0400 (EDT)
Message-Id: <200005202036.QAA25372@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3925C0BA.9BC04FA4@gtcom.net> (message from Krogg on Fri, 19 May
2000 18:31:22 -0400)
Subject: Re: Directory listing
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000518115130 DOT 12245T-100000 AT is> <3924B7F6 DOT 28989BA7 AT gtcom DOT net> <200005191229 DOT IAA23656 AT indy DOT delorie DOT com> <3925C0BA DOT 9BC04FA4 AT gtcom DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
> Date: Fri, 19 May 2000 18:31:22 -0400
>
> > > How do i filter subdirectories from the list?
> > 
> > They have a special attribute bit set in the ff_attrib member of
> > struct ffblk.
> 
> Its the omission of this information that confused me....
> 
> The ff_attrib member isnt documented verywell in the libc-202 
> documentation

I'm sure patches that make the docs better will be gratefully
accepted ;-).

> I dont know which bit tells if you got a directory

That would be bit 4.  See the docs of the _chmod function for the full
story.

- Raw text -


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