]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
statfs.2: Unshade as deprecated, but direct to statvfs(3)
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Fri, 23 Jun 2023 20:49:22 +0000 (22:49 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 18 Jul 2023 21:27:38 +0000 (23:27 +0200)
Link: https://lore.kernel.org/linux-man/f54kudgblgk643u32tb6at4cd3kkzha6hslahv24szs4raroaz@ogivjbfdaqtb/t/#u
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/statfs.2

index 0496ab6c910794d9ed560bcce94b56bcb47ab3f6..307a29b3a7c72f5a2c6f2d4aa59c74b43e5fc304 100644 (file)
@@ -15,9 +15,15 @@ Standard C library
 .nf
 .BR "#include <sys/vfs.h>    " "/* or <sys/statfs.h> */"
 .PP
-.BI "[[deprecated]] int statfs(const char *" path ", struct statfs *" buf );
-.BI "[[deprecated]] int fstatfs(int " fd ", struct statfs *" buf );
+.BI "int statfs(const char *" path ", struct statfs *" buf );
+.BI "int fstatfs(int " fd ", struct statfs *" buf );
 .fi
+.PP
+Unless you need the
+.I f_type
+field, you should use the standard
+.BR statvfs (3)
+interface instead.
 .SH DESCRIPTION
 The
 .BR statfs ()