[fpc-pascal] how to use signals in freepascal?

Michael Van Canneyt michael at freepascal.org
Tue Mar 17 08:58:34 CET 2015



On Tue, 17 Mar 2015, Xiangrong Fang wrote:

>       You should not use this in fact, it is meant for internal use.
>
>       To write a signal handler on unix, see
>
>       http://www.freepascal.org/docs-html/rtl/baseunix/fpsigaction.html
>
>       there is an example.
> 
> 
> ​I tried example57, it worked, but I still do not know some peculiar behaviors in it​. I will ask later, after some investigations.
> 
> However, what is HookSignal for? How to use it? Or it is just a "stub" and not functional yet?

It exists only for Kylix compatibility. I do not recommend it's use.

Michael.


More information about the fpc-pascal mailing list