Subject: Re: lseek() continued! DOH!
To: None <netbsd-help@NetBSD.ORG>
From: None <tooleym@douglas.bc.ca>
List: netbsd-help
Date: 02/04/1998 05:09:02
> > It still sounds like you're treating the offset parameter and return
> > value of lseek() as 32-bit values... they're 64-bit values. When you
> > printf lseek's return value, you have to use a %qd, not %ld or %d. And
> > make sure you #include <unistd.h>
> > 
> > Try compiling your program with -Wall and get rid of any warnings that
> > show up... If you still can't get it to work, it'd help if you'd show
> > some code :)

Woops..  I didn't get to this one yet..  So status should be off_t, all
dealings with lseek should all be off_t then? I'll try that...compiling...
woop..  now the third value returns the new sparse file length:

status 4294989004

:)

marc