Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Aug 2001 18:45:31 -0700
From:      Alex Zepeda <jazepeda@pacbell.net>
To:        Joseph Gleason <clash@tasam.com>, hackers@freebsd.org
Subject:   Re: Finding filesizes in C++ for files greater than 4gb
Message-ID:  <20010801184531.A7725@zippy.mybox.zip>
In-Reply-To: <"from clash"@tasam.com>
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20010801184531.A7725>