stat(2) man page needs to describe difference between stat() and fstat() when working on character special files
As regression introduced in #6866 (and fixed in #8108) has shown, the behavior of fstat() on character special files is counter-intuitive - one needs to fopen() first, and then use stat() to find the st_size.
Currently, stat(2) tries to mention that, but it really could be improved:
st_size For regular files, this is the address of the end of the file. For block special or character special, this is not defined. See also pipe(2).