diff --git a/man2/statfs.2 b/man2/statfs.2 index 4d949d7a5..4856ef5eb 100644 --- a/man2/statfs.2 +++ b/man2/statfs.2 @@ -47,27 +47,21 @@ structure defined approximately as follows: .in +4n .nf -#if __WORDSIZE == 32 /* System word size */ -# define __SWORD_TYPE int -#else /* __WORDSIZE == 64 */ -# define __SWORD_TYPE long int -#endif - struct statfs { - __SWORD_TYPE f_type; /* Type of filesystem (see below) */ - __SWORD_TYPE f_bsize; /* Optimal transfer block size */ - fsblkcnt_t f_blocks; /* Total data blocks in filesystem */ - fsblkcnt_t f_bfree; /* Free blocks in filesystem */ - fsblkcnt_t f_bavail; /* Free blocks available to - unprivileged user */ - fsfilcnt_t f_files; /* Total file nodes in filesystem */ - fsfilcnt_t f_ffree; /* Free file nodes in filesystem */ - fsid_t f_fsid; /* Filesystem ID */ - __SWORD_TYPE f_namelen; /* Maximum length of filenames */ - __SWORD_TYPE f_frsize; /* Fragment size (since Linux 2.6) */ - __SWORD_TYPE f_flags; /* Mount flags of filesystem - (since Linux 2.6.36) */ - __SWORD_TYPE f_spare[xxx]; + __fsword_t f_type; /* Type of filesystem (see below) */ + __fsword_t f_bsize; /* Optimal transfer block size */ + fsblkcnt_t f_blocks; /* Total data blocks in filesystem */ + fsblkcnt_t f_bfree; /* Free blocks in filesystem */ + fsblkcnt_t f_bavail; /* Free blocks available to + unprivileged user */ + fsfilcnt_t f_files; /* Total file nodes in filesystem */ + fsfilcnt_t f_ffree; /* Free file nodes in filesystem */ + fsid_t f_fsid; /* Filesystem ID */ + __fsword_t f_namelen; /* Maximum length of filenames */ + __fsword_t f_frsize; /* Fragment size (since Linux 2.6) */ + __fsword_t f_flags; /* Mount flags of filesystem + (since Linux 2.6.36) */ + __fsword_t f_spare[xxx]; /* Padding bytes reserved for future use */ };