mirror of https://github.com/mkerrisk/man-pages
statfs.2: Add a note on the __fsword_t type
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
35c69c1e34
commit
dba3f0dd25
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue