Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!bellcore!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.unix.wizards Subject: Re: unix question: files per directory Keywords: how many can there be? Message-ID: <3823@ficc.uu.net> Date: 12 Apr 89 16:21:29 GMT References: <24110@beta.lanl.gov> <8420@xanth.cs.odu.edu> Distribution: na Organization: Xenix Support Lines: 16 In article <8420@xanth.cs.odu.edu>, kremer@cs.odu.edu (Lloyd Kremer) writes: > And it doesn't make sense to have a negative offset into a file. The > only exception that comes to mind is that of returning an error code from > a function like lseek()... Speaking of lseek, how about this case: lseek(fd, -1024L, 2); /* Seek to last 1K of file */ It would negatively impact the performance of tail(1) to not have this ability. -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. Personal: ...!texbell!sugar!peter, peter@sugar.hackercorp.com.