]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
statfs.2: SYNOPSIS: Mark as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 25 Oct 2021 19:37:21 +0000 (21:37 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 00:28:08 +0000 (02:28 +0200)
LSB deprecated these syscalls in favor of [f]statvfs(3).

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/statfs.2

index a62dc8fbb635de35829a4fb933f45396039fbb35..91532fec48a4e9bb958b077fb6a0f1cb514c8447 100644 (file)
@@ -15,8 +15,8 @@ Standard C library
 .nf
 .BR "#include <sys/vfs.h>    " "/* or <sys/statfs.h> */"
 .PP
-.BI "int statfs(const char *" path ", struct statfs *" buf );
-.BI "int fstatfs(int " fd ", struct statfs *" buf );
+.BI "[[deprecated]] int statfs(const char *" path ", struct statfs *" buf );
+.BI "[[deprecated]] int fstatfs(int " fd ", struct statfs *" buf );
 .fi
 .SH DESCRIPTION
 The