Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: System V function calls to signal() Message-ID: <11618@smoke.BRL.MIL> Date: 16 Nov 89 00:32:23 GMT References: <13842@orstcs.CS.ORST.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <13842@orstcs.CS.ORST.EDU> duvalj@bionette.cgrb.orst.edu.UUCP (Joe Duval - Entomology) writes: > I have tried signal and ssignal both with no luck. I am sure that is > in my logic. Your signal()-using program was essentially correct, except you should be aware that modern signal handlers return void, not int. Forget ssignal()/gsignal(); you shouldn't try using those for ANYthing.