Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!ames!oliveb!sun!gorodish!guy From: guy@gorodish.UUCP Newsgroups: comp.unix.wizards Subject: Re: Dir(3) emulation - missing seekdir(3) Message-ID: <15812@sun.uucp> Date: Sun, 29-Mar-87 17:34:47 EST Article-I.D.: sun.15812 Posted: Sun Mar 29 17:34:47 1987 Date-Received: Tue, 31-Mar-87 01:50:29 EST References: <264@aecom2.UUCP> <15661@sun.uucp> <6199@ukma.ms.uky.csnet> Sender: news@sun.uucp Reply-To: guy@sun.UUCP (Guy Harris) Organization: Sun Microsystems, Mountain View Lines: 10 >I was moving rn over to a 3b2 running SysVr3 and found that it's >already got the directory reading stuff in /lib/libc.a (A first!). >HOWEVER (argh! argh! argh!) they changed the names: "They" didn't change the names. The IEEE P1003.1 committee did, and they had a good reason; some systems (like all the ones with V7 file systems, including S5) already *have* a "struct direct" which is the native directory entry structure. The 4BSD one used the same format for on-disk directory entries and entries as returned by "readdir", so they could get away with this.