summaryrefslogtreecommitdiff
path: root/lib/fsusage.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-30 10:24:28 +0000
committerJim Meyering <jim@meyering.net>1997-11-30 10:24:28 +0000
commit412d0aba5018ebfc39e32913e7f420ee5ffeeb1d (patch)
tree85ad876073fbee633835a9c2cdc3d616c103224c /lib/fsusage.h
parent25fabf3d2d582be9edc47b54f6f8bd3a020af226 (diff)
downloadcoreutils-412d0aba5018ebfc39e32913e7f420ee5ffeeb1d.tar.xz
(struct fs_usage): New member fsu_blocksize.
Other members are now uintmax_t, not long.
Diffstat (limited to 'lib/fsusage.h')
-rw-r--r--lib/fsusage.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/fsusage.h b/lib/fsusage.h
index 227c5b455..d71dc1243 100644
--- a/lib/fsusage.h
+++ b/lib/fsusage.h
@@ -18,11 +18,12 @@
/* 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