signal problems on BSD

co-op jsv at cci632.UUCP
Tue Mar 6 08:30:11 AEST 1990


I have a program written in C that captures the HUP signal sent when a user
logs out and prints some information to a file.  This program works fine on
System V but on BSD machines, the program doesn't seem to get the signal and
when I log back on, it's still running (the interrupt function on this signal
has an exit() in it) and nothing was written to the file.

I know the program understands the signal, because when I execute:

   % kill -HUP <pid>

the program ends (on both systems) properly.

Any ideas as to why?

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.unix.questions mailing list