statfs.2: Add a note on the __fsword_t type

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-02-05 10:35:54 +01:00
parent 35c69c1e34
commit dba3f0dd25
1 changed files with 12 additions and 0 deletions

View File

@ -263,6 +263,18 @@ The Linux
was inspired by the 4.4BSD one
(but they do not use the same structure).
.SH NOTES
The
.I __fsword_t
type used for various fields in the
.I statfs
structure definition is a glibc internal type,
not intended for public use.
This leaves the programmer in a bit of a conundrum when trying to copy
or compare these fields to local variables in a program.
Using
.I "unsigned\ int"
for such variables suffices on most systems.
The original Linux
.BR statfs ()
and