On Tue, Jan 3, 2012 at 12:24, ik <ido...@gmail.com> wrote:

> On Tue, Jan 3, 2012 at 12:16, <michael.vancann...@wisa.be> wrote:
>
>>
>>
>> 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<http://www.freepascal.org/docs-html/rtl/baseunix/fpsigaction.html>
>>
>> For an example.
>>
>
> Thank you,  it helped a lot.
>
>
>>
>> Michael.
>> ______________________________**_________________
>> fpc-pascal maillist  -  
>> fpc-pascal@lists.freepascal.**org<fpc-pascal@lists.freepascal.org>
>> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>>
>
>
> Ido
>


In order to help myself and others to know and remember, I'ved added an
Example to Github:
https://github.com/ik5/blog-examples/blob/master/fpc/signals1/signals.lpr

Ido
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to