[fpc-pascal] How can I trap signals

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Jan 3 11:16:48 CET 2012



On Tue, 3 Jan 2012, ik wrote:

> Hello,
>
> I wish to trap two signals in Linux (ABRT and HUP), how can I do that ?

Install a signal handler.

See e.g.

http://www.freepascal.org/docs-html/rtl/baseunix/fpsigaction.html

For an example.

Michael.



More information about the fpc-pascal mailing list