148656SbosticThe purpose of this library is to simulate the new flexible length 248656Sbosticdirectory names on top of the old directory structure. It allows 348656Sbosticprograms to be converted to the new directory access interface, so 448656Sbosticthat they need only be relinked when 4.2bsd becomes available. 5*48663Sbostic mckusick@cs.berkeley.edu 648656Sbostic 748656SbosticCHANGE NOTICE: 848656SbosticThe include file is now called <ndir.h> rather than <dir.h> 948656Sbosticto avoid conflicting with the old style directory include file. 1048656SbosticOn a 4.2bsd system, <ndir.h> and <dir.h> should be identical. 1148656SbosticPlease notify me if there is a better solution. 1248656Sbostic 1348656SbosticIn ndir.h, certain data types are #define-ed for the benefit of non-4.xbsd. 1448656SbosticIn telldir.c, lseek() is declared long for the benefit of non-32 bit systems 1548656Sbostic (credit to Mike Mitchell, ikonas!mcm) 1648656Sbostic 1748656SbosticThe call to telldir in seekdir has been removed, 1848656Sbosticbecause telldir had been thought to be wrong. 1948656SbosticIt is actually okay, but the call was not put back in. 2048656Sbostic Tom Truscott (rti!trt) 2148656SbosticP.S. Also, ignore the "Error code 1 (ignored)" produced on some systems. 22