diff options
| -rw-r--r-- | man2/stat.2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/man2/stat.2 b/man2/stat.2 index 447e983e58..099b012ae0 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -261,6 +261,14 @@ or of the form if neither of these macros is defined. On file systems that do not support sub-second timestamps, these nanosecond fields are returned with the value 0. + +For most files under the +.I /proc +directory, +.BR stat () +does not return the file size in the +.I st_size +field; instead the field is returned with the value 0. .SH "RETURN VALUE" On success, zero is returned. On error, \-1 is returned, and .I errno |
