Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2001 18:45:31 -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>

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

> In FreeBSD, how can I determine the size of a file in C++ when the file is
> greater than 4gb?
> Currently, I use stat() and use st_size.  That is limited to 4gb (32bit
> unsigned int)

You're wrong.  Read the man page.  No soup for you!  Next!

- 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: <>