Path: utzoo!attcan!uunet!husc6!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Readdir, Opendir,... Message-ID: <9227@smoke.BRL.MIL> Date: 24 Dec 88 20:25:38 GMT References: <1198@arctic.nprdc.arpa> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 In article <1198@arctic.nprdc.arpa> snguyen@nprdc.arpa (Son Nguyen) writes: >Does anyone know how to create these functions (readdir, opendir, seekdir, >telldir,...,rewinddir) with either TURBO-C or Microsoft C ? >If so, can you send it a copy ? These functions originated at Berkeley and helped in the transition to the newer long-path-component filesystems, as well as more-or-less transparent network file systems. IEEE Std 1003.1 defines the current standard for these functions. I have a public-domain implementation that I'll send you, but it's known to work only on UNIX (any flavor) and ProDOS. (A GS/OS generic version is in the works.) Somebody undoubtedly has adapted getdents() (the system-specific part of the package) for MS-DOS, but I don't have that version. (I would like to receive one for unrestricted redistribution, though!)