fstat
=====

POSIX specification:
 http://www.opengroup.org/onlinepubs/9699919799/functions/fstat.html

Gnulib module: fstat

Portability problems fixed by Gnulib:

  * This function crashes when invoked with invalid arguments on some platforms: MSVC 9.

  * On platforms where off_t is a 32-bit type, fstat may not correctly report the size of files or block devices larger than 2 GB. (Cf. AC_SYS_LARGEFILE.)

Portability problems not fixed by Gnulib:

  * See sys/stat.h, for general portability problems with struct stat.

  * On Cygwin, fstat applied to the file descriptors 0 and 1, returns different st_ino values, even if standard input and standard output are not redirected and refer to the same terminal.