Skip to content

Commit b90052d

Browse files
lichraytkoeppe
authored andcommitted
No qualified std::fclose call
1 parent 1f6c45a commit b90052d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

source/iostreams.tex

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8830,14 +8830,8 @@
88308830
exception, the function closes the file
88318831
(as if by calling
88328832
\indexlibrary{\idxcode{fclose}}%
8833-
\tcode{std::fclose(file)}).\footnote{The function signature
8834-
\tcode{fclose(FILE*)}
8835-
is declared in
8836-
\tcode{<cstdio>}
8837-
\indexlibrary{\idxhdr{cstdio}}%
8838-
\indexlibrary{\idxcode{fclose}}%
8839-
(\ref{c.files}).}
8840-
If any of the calls made by the function, including \tcode{std::fclose}, fails,
8833+
\tcode{fclose(file)}).
8834+
If any of the calls made by the function, including \tcode{fclose}, fails,
88418835
\tcode{close} fails by returning a null pointer. If one of these calls throws an
88428836
exception, the exception is caught and rethrown after closing the file.
88438837

0 commit comments

Comments
 (0)