🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #2439

Re: C++ : readdir geeft gevonden entries in omgekeerde volgorde ?

#2439
From: David
Date: Sat, 22 May 2004 12:38
20 lines
1779 bytes
On Sat, 22 May 2004 10:55:10 +0000, Philip Paeps wrote:

> David <david@somebox.somewhere> wrote:
>> Bij het gebruik van de functie readdir (C++, Linux) viel het me op dat
>> entries in omgekeerde volgorde gegeven worden. vb:
> 
> Ze worden gegeven in de volgorde dat ze in de directory staan (toch in
> mijn implementatie).  Een directory is gewoon een 'file' die dirent(5)
> volgt.  Met readdir() haal je gewoon een pointer op naar het 'volgende'
> entry in de directory.

maw, als ik belang wil hechten aan de volgorde vd gevonden entries,
zal ik dat zelf moeten opvangen.
Thx voor de info, ook aan Kristoffel.

-- 

 David Leemans 
 
 -----::[ http://freeunix.dyndns.org:8088/ ]::-----
Technical Details
Message-ID: <pan.2004.05.22.12.38.42.79855@somebox.somewhere>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!aotearoa.belnet.be!news.belnet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail
References: <pan.2004.05.21.23.51.08.507175@somebox.somewhere> <40af318e$0$65124$e4fe514c@news.xs4all.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,9aa3e8494bded309
X-Google-Attributes: gidfcea4,public
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!aotearoa.belnet.be!news.belnet.be!ossa.telenet-ops.be!phobos.telenet-ops.be.POSTED!not-for-mail
From: David <david@somebox.somewhere>
Subject: Re: C++ :  readdir geeft gevonden entries in omgekeerde volgorde ?
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table)
Message-ID: <pan.2004.05.22.12.38.42.79855@somebox.somewhere>
Newsgroups: be.comp.programming
References: <pan.2004.05.21.23.51.08.507175@somebox.somewhere> <40af318e$0$65124$e4fe514c@news.xs4all.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 20
Date: Sat, 22 May 2004 12:38:42 GMT
NNTP-Posting-Host: 213.224.47.186
X-Complaints-To: abuse@telenet.be
X-Trace: phobos.telenet-ops.be 1085229522 213.224.47.186 (Sat, 22 May 2004 14:38:42 MEST)
NNTP-Posting-Date: Sat, 22 May 2004 14:38:42 MEST
Organization: Telenet Internet