Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2001 16:36:59 +1000
From:      Greg Black <gjb@gbch.net>
To:        Chirag Kantharia <chyrag@yahoo.com>
Cc:        Terry Lambert <tlambert2@mindspring.com>, freebsd-hackers@freebsd.org
Subject:   Re: Finding filesizes in C++ for files greater than 4gb 
Message-ID:  <nospam-996734219.06661@maxim.gbch.net>
In-Reply-To: <20010802115844.A29064@epigonaudio.com>  of Thu, 02 Aug 2001 11:58:44 %2B0530
References:  <00b201c11af3$4fef1c10$0a2d2d0a@battleship> <3B68F264.BC1FEE21@mindspring.com> <20010802115844.A29064@epigonaudio.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Chirag Kantharia wrote:

| On Wed, Aug 01, 2001 at 11:25:40PM -0700, Terry Lambert wrote:
| | Uh, st_size is an off_t, which is a signed 64 bit value,
| | not an unsigned 32 bit vale...
| 
| <going off-topic> why should it be `signed' 64 bit and not unsigned?

So that things like lseek(2) can return -1 as an error value.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?nospam-996734219.06661>