On Sun, 08 Aug 2004 10:56:05 +1200 Volker Kuhlmann <[EMAIL PROTECTED]> wrote:
> There's a truncate functions which chops off the end of a file. Is there > something equivalent for chopping off the beginning of a file? That is, > the middle bit of the file would remain undisturbed on disk. I'm not > after the obvious and trivial solution of copying the middle bit to a > new file. there is no such functionality exposed by the posix C library (you can truncate from a point on but not the other way around). working with syscalls is a whole another story and I'd have to read the fine prints myself :P -- Delio
