data type limitation

I am writing some code to do analysis on the file system (HP-UX 11.11).

I am using stat(..) to get file information. My problem is that the file-size may exceed the data types defined in 'sys/stat.h' & 'sys/types.h' respectively.

Thus file-sizes in the Giga-byte range are not read correctly.

I would be great full for any suggestions.

Read "32 or 64 bit filesystems/files/OS's/CPU's" in our FAQ section.

That worked great- THX