unix question: files per directory
Peter da Silva
peter at ficc.uu.net
Thu Apr 13 02:21:29 AEST 1989
In article <8420 at xanth.cs.odu.edu>, kremer at 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 at ficc.uu.net, +1 713 274 5180.
Personal: ...!texbell!sugar!peter, peter at sugar.hackercorp.com.
More information about the Comp.unix.wizards
mailing list