File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 500500time 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
506507any Linux distribution, \funnm {printf}() is even discussed in there.
507508\item Example: \example {signals/alarm.c}
You can’t perform that action at this time.
0 commit comments