Skip to content

Commit 7f02e12

Browse files
author
Vladimir Kotal
committed
add sigpending() example
1 parent fee1cbc commit 7f02e12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

signals.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,8 @@
550550
\item Both arguments \emph{\texttt{oset}} and \emph{set} may be \texttt{NULL}.
551551
If both are \texttt{NULL} in the same invocation of the function, nothing
552552
happens.
553+
\item \texttt{sigpending} sets the set in the argument to the pending mask.
554+
See \example{signals/sigpending.c}.
553555
\end{itemize}
554556

555557
%%%%%
@@ -640,7 +642,7 @@
640642
communicating via a shared memory): \example{signals/sigwait.c}
641643
\item Do not use for synchronous signals like \texttt{SIGSEGV}, \texttt{SIGILL},
642644
etc. More on that on pages \pageref{SPECIALSIGNALS} and
643-
\pageref{THREADS_SIGWAIT}.
645+
\pageref{THREADS_SIGWAIT}.
644646
\end{itemize}
645647

646648
\endinput

0 commit comments

Comments
 (0)