fclose
======

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

Gnulib module: fclose

Portability problems fixed by Gnulib:

  * On Windows platforms (excluding Cygwin), socket and accept followed by fdopen do not return streams that can be closed by fclose.

Portability problems not fixed by Gnulib:

  * On some platforms, this function fails to set the file position of a seekable input stream to the byte after the last one actually read: glibc 2.13, FreeBSD.

  * On Windows platforms (excluding Cygwin), this function does not set errno upon failure.