Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Joseph Gleason
> :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. > : > > The types(5) manpage will tell you this. > Ahh, thank you. I was not aware that existed.

Re: Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Joseph Gleason
- Original Message - From: "Alex Zepeda" <[EMAIL PROTECTED]> To: "Joseph Gleason" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 21:45 Subject: Re: Finding filesizes in C++ for files greater than 4gb > On Wed, Aug 01,

Finding filesizes in C++ for files greater than 4gb

2001-08-01 Thread Joseph Gleason
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) I could use st_blocks, but that wouldn't give me the exact size. (st_blocks -1) * 512 + (st_size % 512) This would

Re: pmap bomb on 4.0-STABLE

2001-04-05 Thread Joseph Gleason
A friend of mine swears by this memory testing utility: http://reality.sgi.com/cbrady_denver/memtest86/ Apparently it tries a bunch of diffrent test patters that are likely to find memory problems that a simple test wouldn't find. It is cool because you just just write the image to a 1.44mb flo

Re: Greater than 2GB per process

2001-03-11 Thread Joseph Gleason
- Original Message - From: "Alfred Perlstein" <[EMAIL PROTECTED]> To: "Ian Campbell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, March 11, 2001 23:41 Subject: Re: Greater than 2GB per process > * Ian Campbell <[EMAIL PROTECTED]> [010311 16:14] wrote: > > > > Hello, > > Cou