File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 25472547(and $ -1 $ is also a valid result value).
25482548\item It is therefore necessary to always read the appropriate man page for the
25492549system 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 }
You can’t perform that action at this time.
0 commit comments