Lines Matching refs:stat
38 #include <sys/stat.h>
48 typedef struct stat STATBUF ;
68 typedef struct stat STATBUF ;
231 struct stat buf ;
247 printf ("1) Now call stat and fstat on the file and retreive the file lengths.\n") ;
249 if (stat (filename, &buf) != 0)
250 { printf ("\n\nLine %d: stat() failed : %s\n\n", __LINE__, strerror (errno)) ;
261 printf ("2) Size returned by stat and fstat is %d and %d, ", stat_size, fstat_size) ;
281 struct stat buf ;
302 stat (filename, &buf) ;
311 stat (filename, &buf) ;