Subject: Re: lseek past EOF doesn't append zeros under Windows 95
From: DJ Delorie <[email-masked]>

11 Jul 1998 13:48:20 -0400
Message-ID: <[email-masked]>
References: <[email-masked]> <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; IRIX 5.3 IP22)

Vince Del Vecchio wrote:
> Could someone also briefly describe what the semantics will be in the
> next DLL?

The new version will only flag the file when you call lseek().  If you
then call write(), it will know that it followed an lseek(), and
will test to see if the current file pointer is beyond eof.  If
so, it seeks back to eof and writes out zeros to fill the gap.