Skip to content

Commit fa5eef0

Browse files
Dawn Perchikzygoloid
authored andcommitted
LWG2816 resize_file has impossible postcondition
1 parent 3bd9dc5 commit fa5eef0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/iostreams.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15550,13 +15550,11 @@
1555015550

1555115551
\begin{itemdescr}
1555215552
\pnum
15553-
\postconditions \tcode{file_size(p) == new_size}.
15553+
\effects Causes the size that would be returned by \tcode{file_size(p)} to be
15554+
equal to \tcode{new_size}, as if by POSIX \tcode{truncate()}.
1555415555

1555515556
\pnum
1555615557
\throws As specified in~\ref{fs.err.report}.
15557-
15558-
\pnum
15559-
\remarks Achieves its postconditions as if by POSIX \tcode{truncate()}.
1556015558
\end{itemdescr}
1556115559

1556215560

0 commit comments

Comments
 (0)