소스 코드
[code:1]#define _FILE_OFFSET_BITS 64
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
int main( char *argc, char **argv )
{
struct stat statbuf;
stat( argv[1] , &statbuf );
printf("sizeof(off_t) = %d\n",sizeof(off_t));
printf("sizeof(unsigned long) = %d\n",sizeof(unsigned long) );
printf("sizeof( unsigned long long ) = %d \t size = %11u \n",sizeof (unsigned long long ), (unsigned long long) statbuf.st_size );