mirror of https://github.com/mkerrisk/man-pages
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:
parent
919b0ce050
commit
d695a48cdf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue