Bump to 1.14.1
[platform/upstream/augeas.git] / 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
8
9 Portability problems fixed by Gnulib:
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 @item
16 This function crashes if the stream's file descriptor has already been
17 closed on some platforms:
18 MSVC 9.
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