Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / listati / stat.h
index 9f1fc760b942e795cf2e4720e74d83e924d64549..e02ae11357685f7705593616362460ca4a5decba 100644 (file)
@@ -1,15 +1,15 @@
 struct stat {
-    dev_t         st_dev;      /* device */
-    ino_t         st_ino;      /* inode */
+    dev_t         st_dev;      /* ID of device containing file */
+    ino_t         st_ino;      /* inode number */
     mode_t        st_mode;     /* protection */
     nlink_t       st_nlink;    /* number of hard links */
     uid_t         st_uid;      /* user ID of owner */
     gid_t         st_gid;      /* group ID of owner */
     dev_t         st_rdev;     /* device type (if inode device) */
     off_t         st_size;     /* total size, in bytes */
-    unsigned long st_blksize;  /* blocksize for filesystem I/O */
-    unsigned long st_blocks;   /* number of blocks allocated */
+    blksize_t     st_blksize;  /* blocksize for filesystem I/O */
+    blkcnt_t      st_blocks;   /* number of blocks allocated */
     time_t        st_atime;    /* time of last access */
     time_t        st_mtime;    /* time of last modification */
-    time_t        st_ctime;    /* time of last change */
+    time_t        st_ctime;    /* time of last status change */
 };