stat.2: Tweak discussion of 'st_size' for /proc and /sys files

As Mats points out, there appear to be no (or almost no) files
under /proc and /sys for which 'st_size' is meaningful.
(mtk: verified via some scripting over these directories.)

Reported-by: Mats Wichmann <mats@wichmann.us>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-30 07:01:12 +12:00
parent 919b0ce050
commit d695a48cdf
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ will generally not trigger automounter action, whereas
will (but see
.BR fstatat (2)).
For many pseudofiles that are autogenerated by the kernel,
For pseudofiles that are autogenerated by the kernel,
.BR stat ()
does not return an accurate value in the
.IR st_size