diff --git a/man2/statfs.2 b/man2/statfs.2 index b8e876acf..09a708d4a 100644 --- a/man2/statfs.2 +++ b/man2/statfs.2 @@ -180,7 +180,29 @@ The Linux .BR statfs () was inspired by the 4.4BSD one (but they do not use the same structure). -.SH "NOTES ON f_fsid" +.SH NOTES +The kernel has system calls +.BR statfs (), +.BR fstatfs (), +.BR statfs64 (), +and +.BR fstatfs64 () +to support this library call. + +Some systems only have , other systems also have +, where the former includes the latter. So it seems +including the former is the best choice. + +LSB has deprecated the library calls +.BR statfs () +and +.BR fstatfs () +and tells us to use +.BR statvfs () +and +.BR statvfs () +instead. +.SS The f_fsid field Solaris, Irix and POSIX have a system call .BR statvfs (2) that returns a @@ -224,28 +246,6 @@ Under some OSes the can be used as second parameter to the .BR sysfs () system call. -.SH NOTES -The kernel has system calls -.BR statfs (), -.BR fstatfs (), -.BR statfs64 (), -and -.BR fstatfs64 () -to support this library call. - -Some systems only have , other systems also have -, where the former includes the latter. So it seems -including the former is the best choice. - -LSB has deprecated the library calls -.BR statfs () -and -.BR fstatfs () -and tells us to use -.BR statvfs () -and -.BR statvfs () -instead. .SH "SEE ALSO" .BR path_resolution (2), .BR stat (2),