|
This is my Code
ret = stat(fname, &stat_buf);
if (ret == 0)
return &stat_buf;
else
{
fprintf(stderr,"stat: Can't get filesystem information\n");
fprintf(stderr,"stat: Current file %s\n", fname);
perror("stat");
abort();
}
The below is the error
stat: Can't get filesystem information
stat: Current file /pmx/d4/173_i.001
stat: Value too large to be stored in data type
sm_au3[336]: 4740 Abort(coredump)
I am trying to find the stat for a file with size 4.60215 GB , Is it caousing the problem,
I mean the file size is a problem ???
Thanks in Advance,
Arun
|