[fpc-pascal]Linux signalink

Peter Vreman peter at freepascal.org
Thu Dec 28 15:23:32 CET 2000


> Hi,
> 
> I want to ignore signal SIGCHLD - to avoid "zombie" process creation.
> Can some help me how to? I've found it in man-pages but it uses
> sig(SIGCHLD,SIG_IGN) - in fpc definitions, there is incompatibility in
> type,expected is SIGNALHANDLER instead of longint ...

try it with a typecast:

signal(SIGCHLD,SIGNALHANDLER(SIG_IGN))







More information about the fpc-pascal mailing list