Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!samsung!rex!ames!dftsrv!mimsy!mojo!djm From: djm@eng.umd.edu (David J. MacKenzie) Newsgroups: comp.unix.wizards Subject: Re: ftw (was Re: Anything faster than stat(S)? ...) Message-ID: <1989Nov23.195629.6577@eng.umd.edu> Date: 23 Nov 89 19:56:29 GMT References: <152@norsat.UUCP> <2586@unisoft.UUCP> <159@norsat.UUCP> <1989Nov21.070322.6352@dragos.uucp> <11676@smoke.BRL.MIL> Sender: news@eng.umd.edu (The News System) Reply-To: djm@eng.umd.edu (David J. MacKenzie) Organization: University of Maryland Lines: 41 In article <11676@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes: >In article <1989Nov21.070322.6352@dragos.uucp> ruiu@dragos.UUCP (dragos) writes: >>Speaking of which, does anyone have any knowledge of the status of FTW ? >>I've been tempted to try reverse engineering the routines from the Usenix >>paper for my "quaint" SysV.2 system. > >I was going to do that and place it in the public domain, only to find >out that IEEE 1003 has been working on specs for a similar but >different facility. I decided to wait for the dust to settle. Rich Salz has already written a PD version of FTW, and posted it: Path: uunet!husc6!hao!oddjob!gargoyle!ihnp4!cbosgd!mandrill!hal!ncoast!allbery From: rsalz@pebbles.bbn.com Newsgroups: comp.sources.misc Subject: scandir, ftw REDUX Message-ID: <6943@ncoast.UUCP> Date: 1 Jan 88 00:47:01 GMT Sender: allbery@ncoast.UUCP Lines: 505 Approved: allbery@ncoast.UUCP X-Archive: comp.sources.misc/8712/15 Forget my previous message -- I just decided for completeness's sake to implement the SysV ftw(3) routine, too. To repeat, these are public-domain implementations of the SystemV ftw() routine, the BSD scandir() and alphasort() routines, and documentation for same. The FTW manpage could be more readable, but so it goes. Anyhow, feel free to post these, and incorporate them into your existing packages. I have readdir() routiens for MSDOS and the Amiga if anyone wants them, and should have them for VMS by the end of January; let me know if you want copies. Yours in filesystems, /r$ Anyhow, feel free to post -- David J. MacKenzie