Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2001 22:47:37 -0700
From:      Alex Zepeda <>
To:        Joseph Gleason <>,
Subject:   Re: Finding filesizes in C++ for files greater than 4gb
Message-ID:  <>
In-Reply-To: <"from clash">
References:  <00b201c11af3$4fef1c10$0a2d2d0a@battleship> <> <003c01c11afb$3cdc7980$0a2d2d0a@battleship>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, Aug 01, 2001 at 10:31:22PM -0400, Joseph Gleason wrote:

> Alright, I made a mistake.  But I did read the man page.  Where does it say
> off_t is 64bits?
> My mistake was not digging through the include files enough to see what was
> going on.

         off_t     st_size;              /* file size, in bytes */

All it takes is a printf("%d\n", sizeof(off_t)); to figure out how large 
that is. :^)

Or, sure, you could dig thru the headers.

- alex

To Unsubscribe: send mail to
with "unsubscribe freebsd-hackers" in the body of the message

Want to link to this message? Use this URL: <>