summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-03-17 15:14:41 +0100
committerAlejandro Colomar <alx@kernel.org>2023-03-17 22:06:00 +0100
commit9441a71d1debc9cf56d09875aa574e66fe89b6fb (patch)
treec02ab6a9ba0637adf2bd77bf63dd3d5bfa313d9f
parentf485a22184e66248566ff80ad1faa7168f65f331 (diff)
inode.7: STANDARDS: Remove bogus recommendation
'blkcnt_t' is defined in <sys/types.h>, per POSIX.1-2001, as blkcnt_t(3type) documents. Also, it doesn't need any ftm(7) to be defined, AFAICS: $ cat blkcnt_t.c #include <sys/types.h> int main(void) { blkcnt_t x; return x = 0; } $ cc -Wall -Wextra blkcnt_t.c $ Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man7/inode.712
1 files changed, 0 insertions, 12 deletions
diff --git a/man7/inode.7 b/man7/inode.7
index 49078caff..c97fb6ab3 100644
--- a/man7/inode.7
+++ b/man7/inode.7
@@ -426,18 +426,6 @@ in that directory can be renamed or deleted only by the owner
of the file, by the owner of the directory, and by a privileged
process.
.SH STANDARDS
-If you need to obtain the definition of the
-.I blkcnt_t
-or
-.I blksize_t
-types from
-.IR <sys/stat.h> ,
-then define
-.B _XOPEN_SOURCE
-with the value 500 or greater (before including
-.I any
-header files).
-.PP
POSIX.1-1990 did not describe the
.BR S_IFMT ,
.BR S_IFSOCK ,