Subject: Re: lseek() quick question
To: None <tooleym@douglas.bc.ca>
From: Frank van der Linden <frank@wins.uva.nl>
List: netbsd-help
Date: 02/03/1998 23:41:05
On Tue, Feb 03, 1998 at 02:00:47PM -0800, tooleym@douglas.bc.ca wrote:
> I find that re-writing the field turns my file into a giant 4 GB sparse
> file when re-writing the first field..  doh!

Make sure that you have unistd.h included; if you don't, cc will not
know that the offset arg (and return value) of lseek() are off_t typed,
i.e. 64 bit values.

- Frank