Date: Sat, 20 May 2000 16:36:55 -0400 (EDT) Message-Id: <200005202036.QAA25372@indy.delorie.com> From: Eli Zaretskii 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: <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 Precedence: bulk > From: Krogg > 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.