--- On Mon, 13/9/10, H. Peter Anvin <hpa at zytor.com> wrote: > By the way, using seek + write for this is pretty broken. A much better > option is to use ftruncate(). Cool...I'll send an update. Thank you. --- Regards -Prasad PS: Please don't send me html/attachment/Fwd mails