This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: lseek past EOF doesn't append zeros under Windows 95


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.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]