Skip to content

Commit 59efa80

Browse files
committed
Put errx() on the err(3) slide.
1 parent 54217eb commit 59efa80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

intro.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2533,9 +2533,10 @@
25332533
\texttt{void \funnm{err}(int \emph{status}, const char *\emph{fmt}, ...);}
25342534
]]])
25352535
\begin{itemize}
2536-
\item prints a program name, formatted string, and error based on
2536+
\item prints a program name, your formatted string, and error message based on
25372537
\texttt{errno}
25382538
\item exits the program with \emph{status} return value
2539+
\item use \funnm{errx}() if \texttt{errno} is not expected to be set
25392540
\end{itemize}
25402541
\item
25412542
ifdef([[[NOSPELLCHECK]]], [[[

0 commit comments

Comments
 (0)