(struct fs_usage): New member fsu_blocksize.
authorJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 10:24:28 +0000 (10:24 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 30 Nov 1997 10:24:28 +0000 (10:24 +0000)
Other members are now uintmax_t, not long.

lib/fsusage.h

index 227c5b4..d71dc12 100644 (file)
 /* Space usage statistics for a filesystem.  Blocks are 512-byte. */
 struct fs_usage
 {
-  long fsu_blocks;             /* Total blocks. */
-  long fsu_bfree;              /* Free blocks available to superuser. */
-  long fsu_bavail;             /* Free blocks available to non-superuser. */
-  long fsu_files;              /* Total file nodes. */
-  long fsu_ffree;              /* Free file nodes. */
+  int fsu_blocksize;           /* Size of a block.  */
+  uintmax_t fsu_blocks;                /* Total blocks. */
+  uintmax_t fsu_bfree;         /* Free blocks available to superuser. */
+  uintmax_t fsu_bavail;                /* Free blocks available to non-superuser. */
+  uintmax_t fsu_files;         /* Total file nodes. */
+  uintmax_t fsu_ffree;         /* Free file nodes. */
 };
 
 #ifndef __P