Signal problem

co-op jsv at cci632.UUCP
Fri Mar 2 08:30:01 AEST 1990


I've got a program that works fine on System V but has a problem on BSD.
The program is supposed to catch the hangup (SIGHUP) signal and print
some information to a file before exiting.  This works fine on System V,
but on BSD, the program doesn't seem to get the signal, and is still
running when I log back in.  If I do a 'kill -HUP' the program calls the
interrupt function I specified with the signal() call and exits.

Any ideas as to why this occurs?

Jepher

-------------------
Jeffer Veiss

Rochester Institute of Technology       |     Computer Consoles, Inc.
JSV9504 at RITVAX.BITNET                   |     jsv at cci632.uucp
jsv9504 at ritcv.uucp                      |

Disclaimer?  yeah, right.



More information about the Comp.lang.c mailing list