mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 13:59:29 +02:00
+ Added example for sigaction
This commit is contained in:
parent
7e7fb1629b
commit
3f2a55a1e7
@ -46,9 +46,9 @@ The following types are used in the signal-processing procedures.
|
||||
\begin{verbatim}
|
||||
{$Packrecords 1}
|
||||
SignalHandler = Procedure ( Sig : Integer);
|
||||
PSignalHandler = ^SignalHandler;
|
||||
PSignalHandler = SignalHandler;
|
||||
SignalRestorer = Procedure;
|
||||
PSignalrestorer = ^SignalRestorer;
|
||||
PSignalrestorer = SignalRestorer;
|
||||
|
||||
SigActionRec = Record
|
||||
Sa_Handler : PSignalhandler;
|
||||
@ -1740,6 +1740,8 @@ from within its own signal handler.
|
||||
\seem{Sigaction}{2}
|
||||
}
|
||||
|
||||
\input{linuxex/ex57.tex}
|
||||
|
||||
\function{SigPending}{}{SigSet}
|
||||
{
|
||||
Sigpending allows the examination of pending signals (which have been raised
|
||||
|
Loading…
Reference in New Issue
Block a user