Skip to content

Commit bae8424

Browse files
author
Vladimir Kotal
committed
add more detail
1 parent ca2855e commit bae8424

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

signals.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,9 @@
500500
time and when the system is running on behalf of the process, and
501501
\texttt{SIGPROF} is used.
502502
\end{itemize}
503-
\item Note that we use \funnm{write}() system call to write the text. Functions
504-
like \funnm{printf}() are generally not safe to use in signal handlers, see page
503+
\item Note that in the example above and also in the source code examples we use
504+
\funnm{write}() system call to write the text. Functions like \funnm{printf}()
505+
are generally not safe to use in signal handlers, see page
505506
\pageref{ASYNCSIGNALSAFE}. Also check \texttt{signal-safety(7)} manual page on
506507
any Linux distribution, \funnm{printf}() is even discussed in there.
507508
\item Example: \example{signals/alarm.c}

0 commit comments

Comments
 (0)