From 40e36d6634927396611d5ed41e0d83782135ee8e Mon Sep 17 00:00:00 2001 From: наб Date: Fri, 23 Jun 2023 22:49:22 +0200 Subject: statfs.2: Unshade as deprecated, but direct to statvfs(3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link: https://lore.kernel.org/linux-man/f54kudgblgk643u32tb6at4cd3kkzha6hslahv24szs4raroaz@ogivjbfdaqtb/t/#u Signed-off-by: Ahelenia Ziemiańska Signed-off-by: Alejandro Colomar --- man2/statfs.2 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/man2/statfs.2 b/man2/statfs.2 index 0496ab6c9..307a29b3a 100644 --- a/man2/statfs.2 +++ b/man2/statfs.2 @@ -15,9 +15,15 @@ Standard C library .nf .BR "#include " "/* or */" .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 () -- cgit v1.2.3