maint.mk: use info-gnu@ as the default only for a stable release
[pspp] / doc / posix-functions / fclose.texi
1 @node fclose
2 @section @code{fclose}
3 @findex fclose
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/fclose.html}
6
7 Gnulib module: fclose, fflush
8
9 Portability problems fixed by Gnulib module @code{fclose} together with module @code{fflush}:
10 @itemize
11 @item
12 On some platforms, this function fails to set the file position of a
13 seekable input stream to the byte after the last one actually read:
14 glibc 2.13, FreeBSD.
15 @end itemize
16
17 Portability problems fixed by Gnulib module @code{fclose}:
18 @itemize
19 @item
20 On Windows platforms (excluding Cygwin), @code{socket} and @code{accept}
21 followed by @code{fdopen} do not return streams that can be closed by
22 @code{fclose}.
23 @end itemize
24
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @item
28 On Windows platforms (excluding Cygwin), this function does not set @code{errno}
29 upon failure.
30 @end itemize