Skip to content

Commit 8060301

Browse files
committed
Remove unnecessary line break, rephrase the paragraph.
1 parent 7846600 commit 8060301

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

intro.tex

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,13 +2547,12 @@
25472547
(and $-1$ is also a valid result value).
25482548
\item It is therefore necessary to always read the appropriate man page for the
25492549
system call or library function.
2550-
\item Note that from the failure return values from \texttt{stdio.h}, it is necessary
2551-
to test using\\
2552-
\texttt{int \funnm{ferror}(FILE *\emph{stream})}, because it is not otherwise
2553-
possible to distinguish between an error and end of stream. Considering we are
2554-
not using these functions in the lecture (except
2555-
\texttt{printf} and \texttt{fprintf} for \texttt{stdout} and
2556-
\texttt{stderr}), you should not need it.
2550+
\item Note that to test for failures of the functions from \texttt{stdio.h}, it
2551+
is necessary to test using the function ``\texttt{int \funnm{ferror}(FILE
2552+
*\emph{stream})}'' as it is not otherwise possible to distinguish between an
2553+
error and end of a stream. Considering we are not using these functions in the
2554+
lecture (except for \texttt{printf} and \texttt{fprintf}), you should not need
2555+
it.
25572556
\end{itemize}
25582557

25592558
\begin{slide}

0 commit comments

Comments
 (0)