Is Unix getting bloated with un-needed special cases?

Felix Lee flee at cs.psu.edu
Wed May 1 04:31:02 AEST 1991


Well, given that getdents() is a system call, the obvious thing to do
is to treat directories as objects that return a sequence of dirents
when read.

Unfortunately, getdents() wants you to give it a "real" lseek offset
for the real directory file.
--
Felix Lee	flee at cs.psu.edu



More information about the Comp.unix.programmer mailing list