The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-10-2008
arunkumar_mca arunkumar_mca is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 256
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