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) Uh, st_size is an off_t, which is a signed 64 bit value, not an unsigned 32 bit vale... -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: Finding filesizes in C++ for files greater than 4gb Alex Zepeda
- Re: Finding filesizes in C++ for files greater than 4gb Joseph Gleason
- Re: Finding filesizes in C++ for files greater than 4gb David Scheidt
- Re: Finding filesizes in C++ for files greater than ... Joseph Gleason
- Re: Finding filesizes in C++ for files greater than 4gb Jim Bryant
- Re: Finding filesizes in C++ for files greater than 4gb Kent Stewart
- Re: Finding filesizes in C++ for files greater than 4gb Jim Bryant
- Re: Finding filesizes in C++ for files greater than ... David O'Brien
- Re: Finding filesizes in C++ for files greater than 4gb Terry Lambert
- Re: Finding filesizes in C++ for files greater than 4gb Chirag Kantharia