Path: utzoo!attcan!uunet!mailrus!wuarchive!udel!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.questions Subject: Re: directory reading Message-ID: <13561@smoke.BRL.MIL> Date: 15 Aug 90 13:31:24 GMT References: Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 8 In article bglenden@mandrill.cv.nrao.edu (Brian Glendenning) writes: > if (dp->d_ino == 0) > continue; >It looks like modern readdir(3)'s only return pointers to valid entries, >and NULL at the end, so a test of this type is no longer required. Yes, all versions of readdir() are expected to filter out "deleted" entries so there is no need to test for that in the application.